public function __construct(Db $db, $table = null, $alias = null) { $this->setDb($db); $this->setTable($table); $this->setAlias($alias); }