XOOPS Docs - XOOPS
[ class tree: XOOPS ] [ index: XOOPS ] [ all elements ]

Class: XoopsDatabaseFactory

Source Location: /class/database/databasefactory.php

Class Overview




Methods



Class Details

[line 2]


[ Top ]


Class Methods


static method getDatabase [line 48]

static object Reference &getDatabase( )

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



Tags:

return:  to the only instance of database class
staticvar:  object The $instance: only instance of database class


[ Top ]

static method getDatabaseConnection [line 19]

static object Reference &getDatabaseConnection( )

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




Tags:

return:  to the only instance of database class
staticvar:  object The $instance: only instance of database class


[ Top ]

constructor XoopsDatabaseFactory [line 5]

XoopsDatabaseFactory XoopsDatabaseFactory( )



[ Top ]


XOOPS Docs generated by phpDocumentor