Documentation

LockInfo
in package

LockInfo class.

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

Tags
copyright

Copyright (C) fruux GmbH (https://fruux.com/)

author

Evert Pot (http://evertpot.com/)

license

http://sabre.io/license/ Modified BSD License

Table of Contents

EXCLUSIVE  = 2
An exclusive lock.
SHARED  = 1
A shared lock.
TIMEOUT_INFINITE  = -1
A never expiring timeout.
$created  : int
UNIX Timestamp of when this lock was created.
$depth  : mixed
Depth of lock, can be 0 or Sabre\DAV\Server::DEPTH_INFINITY.
$owner  : string
The owner of the lock.
$scope  : int
Exclusive or shared lock.
$timeout  : int
How long till the lock is expiring.
$token  : string
The locktoken.
$uri  : mixed
The uri this lock locks.

Constants

EXCLUSIVE

An exclusive lock.

public mixed EXCLUSIVE = 2

SHARED

A shared lock.

public mixed SHARED = 1

TIMEOUT_INFINITE

A never expiring timeout.

public mixed TIMEOUT_INFINITE = -1

Properties

$created

UNIX Timestamp of when this lock was created.

public int $created

$depth

Depth of lock, can be 0 or Sabre\DAV\Server::DEPTH_INFINITY.

public mixed $depth = 0

$owner

The owner of the lock.

public string $owner

$scope

Exclusive or shared lock.

public int $scope = self::EXCLUSIVE

$timeout

How long till the lock is expiring.

public int $timeout

$token

The locktoken.

public string $token

$uri

The uri this lock locks.

public mixed $uri

TODO: This value is not always set

Search results