| [ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Simple generator of database connections that always returns the same object. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
| File Size: | 112 lines (3 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
LBFactorySingle:: (6 methods):
__construct()
newMainLB()
getMainLB()
newExternalLB()
getExternalLB()
forEachLB()
LoadBalancerSingle:: (2 methods):
__construct()
reallyOpenConnection()
Class: LBFactorySingle - X-Ref
An LBFactory class that always returns a single database object.| __construct( $conf ) X-Ref |
param: array $conf An associative array with one member: |
| newMainLB( $wiki = false ) X-Ref |
param: bool|string $wiki return: LoadBalancerSingle |
| getMainLB( $wiki = false ) X-Ref |
param: bool|string $wiki return: LoadBalancerSingle |
| newExternalLB( $cluster, $wiki = false ) X-Ref |
param: string $cluster External storage cluster, or false for core param: bool|string $wiki Wiki ID, or false for the current wiki return: LoadBalancerSingle |
| getExternalLB( $cluster, $wiki = false ) X-Ref |
param: string $cluster External storage cluster, or false for core param: bool|string $wiki Wiki ID, or false for the current wiki return: LoadBalancerSingle |
| forEachLB( $callback, $params = array() X-Ref |
param: string|callable $callback param: array $params |
Class: LoadBalancerSingle - X-Ref
Helper class for LBFactorySingle.| __construct( $params ) X-Ref |
param: array $params |
| reallyOpenConnection( $server, $dbNameOverride = false ) X-Ref |
param: string $server param: bool $dbNameOverride return: DatabaseBase |
| Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |