MediaWiki  REL1_19
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 174 of file LockManager.php.


Member Function Documentation

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

Lock resources with the given keys and lock type.

Parameters:
$pathsArray List of storage paths
$typeinteger LockManager::LOCK_* constant
Returns:
string

Reimplemented from LockManager.

Definition at line 175 of file LockManager.php.

References Status\newGood().

Here is the call graph for this function:

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

Unlock resources with the given keys and lock type.

Parameters:
$pathsArray List of storage paths
$typeinteger LockManager::LOCK_* constant
Returns:
string

Reimplemented from LockManager.

Definition at line 179 of file LockManager.php.

References Status\newGood().

Here is the call graph for this function:


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