MediaWiki
REL1_19
|
Class to handle file lock manager registration. More...
Public Member Functions | |
get ($name) | |
Get the lock manager object with a given name. | |
Static Public Member Functions | |
static | singleton () |
Protected Member Functions | |
__clone () | |
__construct () | |
initFromGlobals () | |
Register lock managers from the global variables. | |
register (array $configs) | |
Register an array of file lock manager configurations. | |
Protected Attributes | |
$managers = array() | |
Static Protected Attributes | |
static | $instance = null |
Class to handle file lock manager registration.
Definition at line 9 of file LockManagerGroup.php.
LockManagerGroup::__construct | ( | ) | [protected] |
Definition at line 19 of file LockManagerGroup.php.
LockManagerGroup::__clone | ( | ) | [protected] |
Definition at line 20 of file LockManagerGroup.php.
LockManagerGroup::get | ( | $ | name | ) |
Get the lock manager object with a given name.
$name | string |
MWException |
Definition at line 77 of file LockManagerGroup.php.
LockManagerGroup::initFromGlobals | ( | ) | [protected] |
Register lock managers from the global variables.
Definition at line 38 of file LockManagerGroup.php.
References $wgLockManagers.
LockManagerGroup::register | ( | array $ | configs | ) | [protected] |
Register an array of file lock manager configurations.
$configs | Array |
MWException |
Definition at line 51 of file LockManagerGroup.php.
static LockManagerGroup::singleton | ( | ) | [static] |
Definition at line 25 of file LockManagerGroup.php.
References $instance.
Referenced by FileBackend\__construct().
LockManagerGroup::$instance = null [static, protected] |
Definition at line 14 of file LockManagerGroup.php.
Referenced by singleton().
LockManagerGroup::$managers = array() [protected] |
Definition at line 17 of file LockManagerGroup.php.