MediaWiki
REL1_19
|
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 6 of file LBFactory_Single.php.
LBFactory_Single::__construct | ( | $ | conf | ) |
$conf | array An associative array with one member:
|
Reimplemented from LBFactory.
Definition at line 13 of file LBFactory_Single.php.
LBFactory_Single::forEachLB | ( | $ | callback, |
$ | params = array() |
||
) |
$callback | string|array |
$params | array |
Reimplemented from LBFactory.
Definition at line 59 of file LBFactory_Single.php.
& LBFactory_Single::getExternalLB | ( | $ | cluster, |
$ | wiki = false |
||
) |
$cluster | |
$wiki | bool|string |
Reimplemented from LBFactory.
Definition at line 51 of file LBFactory_Single.php.
LBFactory_Single::getMainLB | ( | $ | wiki = false | ) |
$wiki | bool|string |
Reimplemented from LBFactory.
Definition at line 31 of file LBFactory_Single.php.
LBFactory_Single::newExternalLB | ( | $ | cluster, |
$ | wiki = false |
||
) |
$cluster | |
$wiki | bool|string |
Reimplemented from LBFactory.
Definition at line 41 of file LBFactory_Single.php.
LBFactory_Single::newMainLB | ( | $ | wiki = false | ) |
$wiki | bool|string |
Reimplemented from LBFactory.
Definition at line 22 of file LBFactory_Single.php.
LBFactory_Single::$lb [protected] |
Definition at line 7 of file LBFactory_Single.php.