wfGetDB

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Revision as of 19:59, 14 September 2008 by Woozle (talk | contribs) (LBfactory)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.)