XOOPS 2.5.6
Final
|
Public Member Functions | |
XoopsDatabaseFactory () | |
Static Public Member Functions | |
static | getDatabase () |
static & | getDatabaseConnection () |
Definition at line 27 of file databasefactory.php.
|
static |
Gets a reference to the only instance of database class. Currently only being used within the installer.
object The only instance of database class
Definition at line 83 of file databasefactory.php.
References $file, and XOOPS_DB_TYPE.
Referenced by db_manager\db_manager().
|
static |
Get a reference to the only instance of database class and connects to DB
if the class has not been instantiated yet, this will also take care of that
object The only instance of database class
Definition at line 46 of file databasefactory.php.
References $file, $xoopsPreload, XoopsPreload\getInstance(), XoopsLogger\getInstance(), XOOPS_DB_PREFIX, and XOOPS_DB_TYPE.
Referenced by XoopsPersistableObjectHandler\__construct(), b_system_info_show(), b_system_waiting_show(), SystemBlockHandler\countSimilarBlocks(), XoopsBlock\countSimilarBlocks(), XoopsBlock\getAllBlocks(), XoopsBlock\getAllBlocksByGroup(), SystemBlockHandler\getAllBlocksByGroup(), XoopsBlock\getAllByGroupModule(), XoopsAuthFactory\getAuthConnection(), XoopsBlock\getByModule(), XoopsApi\getCategories(), Database\getInstance(), XoopsBlock\getNonGroupedBlocks(), MyTextSanitizer\getSmileys(), XoopsUserUtility\getUnameFromIds(), XoopsCacheModel\init(), protector_postcommon(), XoopsStory\Story(), SystemMaintenance\SystemMaintenance(), XoopsUserUtility\validate(), xoops_getbanner(), xoops_gethandler(), xoops_getmodulehandler(), xoops_getrank(), xoops_module_uninstall(), XoopsBlock\XoopsBlock(), XoopsComments\XoopsComments(), XoopsTopic\XoopsTopic(), and XoopsTree\XoopsTree().
XoopsDatabaseFactory::XoopsDatabaseFactory | ( | ) |
XoopsDatabaseFactory::XoopsDatabaseFactory()
Definition at line 32 of file databasefactory.php.