Difference between revisions of "wfGetDB"
Jump to navigation
Jump to search
(New page: category:MediaWikiwfGetDB is a PHP function in the MediaWiki code. It is defined in the GlobalFunctions.php file, and returns an object of...) |
(LBfactory) |
||
Line 1: | Line 1: | ||
− | [[category:MediaWiki]][[wfGetDB]] is a [[PHP]] function in the [[MediaWiki]] code. It is defined in the [[MediaWiki/GlobalFunctions.php|GlobalFunctions.php]] file, and | + | [[category:MediaWiki]][[wfGetDB]] is a [[PHP]] function in the [[MediaWiki]] code. It is defined in the [[MediaWiki/GlobalFunctions.php|GlobalFunctions.php]] file, and seems to return an object of type Database, defined in [[MediaWiki/Database.php|Database.php]]. |
+ | |||
+ | (It calls LBFactory, defined in [[MediaWiki/LBFactory.php|LBFactory.php]], to do this; the code is a little unclear.) |
Latest revision as of 19:59, 14 September 2008
wfGetDB is a PHP function in the MediaWiki code. It is defined in the GlobalFunctions.php file, and seems to return an object of type Database, defined in Database.php.
(It calls LBFactory, defined in LBFactory.php, to do this; the code is a little unclear.)