
Public Member Functions | |
| __call ($method, $args) | |
| loadObject (&$object) | |
Static Public Member Functions | |
| static | getInstance () |
Protected Member Functions | |
| __construct () | |
| __clone () | |
Protected Attributes | |
| $database | |
Static Protected Attributes | |
| static | $instance = __CLASS__ |
Definition at line 622 of file aliroDatabase.php.
| aliroDatabase::__construct | ( | ) | [protected] |
Reimplemented in aliroCoreDatabase, and aliroCoreDatabase.
Definition at line 627 of file aliroDatabase.php.
References aliroCore::getConfigData().
00627 { 00628 $credentials = aliroCore::getConfigData('credentials.php'); 00629 $this->database = new aliroDatabaseHandler ($credentials['dbhost'], $credentials['dbusername'], $credentials['dbpassword'], $credentials['dbname'], $credentials['dbprefix']); 00630 }
| aliroDatabase::__clone | ( | ) | [protected] |
| aliroDatabase::__call | ( | $ | method, | |
| $ | args | |||
| ) |
Definition at line 636 of file aliroDatabase.php.
00636 { 00637 return call_user_func_array(array($this->database, $method), $args); 00638 }
| aliroDatabase::loadObject | ( | &$ | object | ) |
Definition at line 641 of file aliroDatabase.php.
00641 { 00642 return $this->database->loadObject($object); 00643 }
| static aliroDatabase::getInstance | ( | ) | [static] |
Reimplemented in aliroCoreDatabase, joomlaDatabase, aliroCoreDatabase, and JDatabase.
Definition at line 645 of file aliroDatabase.php.
Referenced by aliroTagHandler::__construct(), aliroSEF::__construct(), mosSpecialAdminParameters::__construct(), aliroFolderHandler::__construct(), aliroFileInDB::__construct(), aliroExtConfig::__construct(), aliroCore::__construct(), sefAdminControllers::__construct(), aliroXMLParams::_form_mos_category(), aliroXMLParams::_form_mos_section(), mosAdminMenus::Access(), aliroUserAuthenticator::authenticate(), aliroComponentAdminControllers::basicInsert(), aliroComponentAdminControllers::basicUpdate(), mosAdminMenus::Category(), mosUser::check(), mosAdminMenus::ComponentCategory(), mosUser::delete(), aliroFolderHandler::delete(), aliroExtensionInstaller::doJQueries(), aliroExtensionInstaller::doQueries(), aliroSEFHelper::getConfig(), aliroAbstractRequest::getDebug(), aliroComponentAdminControllers::handleField(), aliroAbstractRequest::invokeRetroCode(), aliroFolder::load(), aliroAdminAuthenticator::login(), aliroAuthenticator::logout(), aliroExtensionInstaller::removeComponent(), mosAdminMenus::Section(), mosAdminMenus::SelectSection(), aliroUserAuthenticator::systemLogin(), aliroExtConfig::update(), aliroFolderHandler::updateOrdering(), and mosAdminMenus::UserSelect().
00645 { 00646 return is_object(self::$instance) ? self::$instance : (self::$instance = new self::$instance); 00647 }
aliroDatabase::$instance = __CLASS__ [static, protected] |
Reimplemented in aliroCoreDatabase, joomlaDatabase, and JDatabase.
Definition at line 624 of file aliroDatabase.php.
aliroDatabase::$database [protected] |
Definition at line 625 of file aliroDatabase.php.
1.5.5