public function __construct() { $db = new CModelConnectDB(DSN, DB_USER_NAME, DB_USER_PASS); $this->setDbConn($db->getDBConnection()); }