Child classes:
- Sabre_DAV_Locks_Backend_FS
- The Lock manager allows you to handle all file-locks centrally.
- Sabre_DAV_Locks_Backend_PDO
- The Lock manager allows you to handle all file-locks centrally.
Inherited Variables
Inherited Constants
Inherited Methods
Class Details
The Lock manager allows you to handle all file-locks centrally.
This is an alternative approach to doing this on a per-node basis
Tags:
- author - Evert Pot (http://www.rooftopsolutions.nl/)
- copyright - Copyright (C) 2007-2010 Rooftop Solutions. All rights reserved.
- abstract -
- license - Modified BSD License
[ Top ]
Class Variables
Class Methods
getLocks
array getLocks(
string
$uri)
[line 25]
Returns a list of Sabre_DAV_Locks_LockInfo objects
This method should return all the locks for a particular uri, including locks that might be set on a parent uri.
Tags:
- abstract -
Overridden in child classes as:
- Sabre_DAV_Locks_Backend_FS::getLocks()
- Returns a list of Sabre_DAV_Locks_LockInfo objects
- Sabre_DAV_Locks_Backend_PDO::getLocks()
- Returns a list of Sabre_DAV_Locks_LockInfo objects
Parameters:
- string $uri -
[ Top ]
lock
bool lock(
string
$uri, Sabre_DAV_Locks_LockInfo
$lockInfo)
[line 34]
Locks a uri
Tags:
- abstract -
Overridden in child classes as:
- Sabre_DAV_Locks_Backend_FS::lock()
- Locks a uri
- Sabre_DAV_Locks_Backend_PDO::lock()
- Locks a uri
Parameters:
- string $uri -
- Sabre_DAV_Locks_LockInfo $lockInfo -
[ Top ]
unlock
bool unlock(
string
$uri, Sabre_DAV_Locks_LockInfo
$lockInfo)
[line 43]
Removes a lock from a uri
Tags:
- abstract -
Overridden in child classes as:
- Sabre_DAV_Locks_Backend_FS::unlock()
- Removes a lock from a uri
- Sabre_DAV_Locks_Backend_PDO::unlock()
- Removes a lock from a uri
Parameters:
- string $uri -
- Sabre_DAV_Locks_LockInfo $lockInfo -
[ Top ]