MediaWiki  REL1_22
NullLockManager Class Reference

Simple version of LockManager that does nothing. More...

Inheritance diagram for NullLockManager:
Collaboration diagram for NullLockManager:

List of all members.

Protected Member Functions

 doLock (array $paths, $type)
 Lock resources with the given keys and lock type.
 doUnlock (array $paths, $type)
 Unlock resources with the given keys and lock type.

Detailed Description

Simple version of LockManager that does nothing.

Since:
1.19

Definition at line 250 of file LockManager.php.


Member Function Documentation

NullLockManager::doLock ( array paths,
type 
) [protected]

Lock resources with the given keys and lock type.

Parameters:
array$pathsList of paths
$typeinteger LockManager::LOCK_* constant
Returns:
Status

Reimplemented from LockManager.

Definition at line 251 of file LockManager.php.

NullLockManager::doUnlock ( array paths,
type 
) [protected]

Unlock resources with the given keys and lock type.

Parameters:
array$pathsList of paths
$typeinteger LockManager::LOCK_* constant
Returns:
Status

Reimplemented from LockManager.

Definition at line 255 of file LockManager.php.


The documentation for this class was generated from the following file: