Class Sabre_DAV_Locks_LockInfo

Description

LockInfo class

An object of the LockInfo class holds all the information relevant to a single lock.

  • author: Evert Pot (http://www.rooftopsolutions.nl/)
  • copyright: Copyright (C) 2007-2010 Rooftop Solutions. All rights reserved.
  • license: Modified BSD License

Located in /sources_custom/Sabre/DAV/Locks/LockInfo.php (line 15)


	
			
Class Constant Summary
Variable Summary
int $created
mixed $depth
string $owner
int $scope
int $timeout
string $token
mixed $uri
Variables
int $created (line 58)

UNIX Timestamp of when this lock was created

  • access: public
mixed $depth = 0 (line 70)

Depth of lock, can be 0 or Sabre_DAV_Server::DEPTH_INFINITY

  • access: public
string $owner (line 37)

The owner of the lock

  • access: public
int $scope = self::EXCLUSIVE (line 65)

Exclusive or shared lock

  • access: public
int $timeout (line 51)

How long till the lock is expiring

  • access: public
string $token (line 44)

The locktoken

  • access: public
mixed $uri (line 78)

The uri this lock locks

TODO: This value is not always set

  • access: public
Class Constants
EXCLUSIVE = 2 (line 25)

An exclusive lock

SHARED = 1 (line 20)

A shared lock

TIMEOUT_INFINITE = -1 (line 30)

A never expiring timeout

Documentation generated on Sun, 02 Jan 2011 23:17:07 +0000 by phpDocumentor 1.4.3