public function __construct($db = null, $user = null, $forum = null) { $this->db = $db; $this->user = $user; $this->forum = $forum; }