XoopsDatabaseFactory
Methods | ||
---|---|---|
public
|
__construct()
XoopsDatabaseFactory constructor.
XoopsDatabaseFactory constructor. |
# |
public
static
|
getDatabaseConnection(): XoopsDatabase
Get a reference to the only instance of database class and connects to DB
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 ReturnsReference to the only instance of database class |
# |
public
static
|
getDatabase(): object
Gets a reference to the only instance of database class. Currently,
only being used within the installer.
Gets a reference to the only instance of database class. Currently, only being used within the installer. ReturnsReference to the only instance of database class |
# |