API - XOOPS 2.5.11 Beta 2
By monxoops.fr
XoopsDatabaseFactory Class Reference

Public Member Functions

 __construct ()
 

Static Public Member Functions

static getDatabaseConnection ()
 
static getDatabase ()
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

XoopsDatabaseFactory constructor.

Member Function Documentation

◆ getDatabase()

static getDatabase ( )
static

Gets a reference to the only instance of database class. Currently only being used within the installer.

@staticvar object The only instance of database class

Returns
object Reference to the only instance of database class
Here is the caller graph for this function:

◆ getDatabaseConnection()

static getDatabaseConnection ( )
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

@staticvar XoopsDatabase The only instance of database class

Returns
XoopsDatabase Reference to the only instance of database class
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: