MediaWiki
REL1_22
|
An LBFactory class that always returns a single database object. More...
Public Member Functions | |
__construct ($conf) | |
forEachLB ($callback, $params=array()) | |
& | getExternalLB ($cluster, $wiki=false) |
getMainLB ($wiki=false) | |
newExternalLB ($cluster, $wiki=false) | |
newMainLB ($wiki=false) | |
Protected Attributes | |
$lb |
An LBFactory class that always returns a single database object.
Definition at line 27 of file LBFactory_Single.php.
LBFactory_Single::__construct | ( | $ | conf | ) |
array | $conf | An associative array with one member:
|
Reimplemented from LBFactory.
Definition at line 34 of file LBFactory_Single.php.
LBFactory_Single::forEachLB | ( | $ | callback, |
$ | params = array() |
||
) |
$callback | string|array |
$params | array |
Reimplemented from LBFactory.
Definition at line 80 of file LBFactory_Single.php.
& LBFactory_Single::getExternalLB | ( | $ | cluster, |
$ | wiki = false |
||
) |
$cluster | |
$wiki | bool|string |
Reimplemented from LBFactory.
Definition at line 72 of file LBFactory_Single.php.
LBFactory_Single::getMainLB | ( | $ | wiki = false | ) |
$wiki | bool|string |
Reimplemented from LBFactory.
Definition at line 52 of file LBFactory_Single.php.
LBFactory_Single::newExternalLB | ( | $ | cluster, |
$ | wiki = false |
||
) |
$cluster | |
$wiki | bool|string |
Reimplemented from LBFactory.
Definition at line 62 of file LBFactory_Single.php.
LBFactory_Single::newMainLB | ( | $ | wiki = false | ) |
$wiki | bool|string |
Reimplemented from LBFactory.
Definition at line 43 of file LBFactory_Single.php.
LBFactory_Single::$lb [protected] |
Definition at line 28 of file LBFactory_Single.php.