/** * execute request * @param unknown $pFakeValue parent function has parameter so we add on to have same number of parameter * @return array */ public function execute($pFakeValue = null) { $this->finalize(); $lSqlTable = $this->mModel->getSqlTableUnit(); $lSqlTable->loadValue("database"); $lDbInstance = DatabaseController::getInstanceWithDataBaseObject($lSqlTable->getValue("database")); $lRows = $lDbInstance->executeQuery($this->mSelectQuery); return $this->_buildObjectsWithRows($lRows); }
private function _initDbObject() { $this->loadValue("database"); self::$sDbObjectById[$this->getValue("database")->getValue("id")] = DatabaseController::getInstanceWithDataBaseObject($this->getValue("database")); }