XOOPS
2.6.0
|
Static Public Member Functions | |
static | getDatabaseConnection () |
Static Public Member Functions inherited from Xoops\Core\Database\Factory | |
static | getConnection ($options=null) |
Definition at line 29 of file databasefactory.php.
|
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
Legacy support function
NOTE: Persistance connection is not supported nor needed with Doctrine. XOOPS_DB_PCONNECT is ignored.
Definition at line 45 of file databasefactory.php.
References $file, XoopsBaseConfig\get(), and Xoops\Core\Events\getInstance().
Referenced by XoopsObjectHandler\__construct(), and XoopsPersistableObjectHandler\__construct().