Class: Sabre_DAV_Locks_LockInfo

Source Location: /includes/classes/SabreDAV/lib/Sabre/DAV/Locks/LockInfo.php

Class Overview [line 15]


LockInfo class

Author(s):

  • Evert Pot (http://www.rooftopsolutions.nl/)

Version:

Copyright:

  • Copyright (C) 2007-2010 Rooftop Solutions. All rights reserved.

Variables

Constants

Methods


Inherited Variables

Inherited Constants

Inherited Methods



Class Details

LockInfo class

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

Tags:

[ Top ]


Class Variables

$created

[line 58]

UNIX Timestamp of when this lock was created

Tags:

  • access - public

Type: int

Overrides:

[ Top ]

$depth =  0

[line 70]

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

Tags:

  • access - public

Type: mixed

Overrides:

[ Top ]

$owner

[line 37]

The owner of the lock

Tags:

  • access - public

Type: string

Overrides:

[ Top ]

$scope =  self::EXCLUSIVE

[line 65]

Exclusive or shared lock

Tags:

  • access - public

Type: int

Overrides:

[ Top ]

$timeout

[line 51]

How long till the lock is expiring

Tags:

  • access - public

Type: int

Overrides:

[ Top ]

$token

[line 44]

The locktoken

Tags:

  • access - public

Type: string

Overrides:

[ Top ]

$uri

[line 78]

The uri this lock locks

TODO: This value is not always set

Tags:

  • access - public

Type: mixed

Overrides:

[ Top ]


Class Methods


Class Constants

EXCLUSIVE =  2

[line 25]

An exclusive lock

[ Top ]

SHARED =  1

[line 20]

A shared lock

[ Top ]

TIMEOUT_INFINITE =  -1

[line 30]

A never expiring timeout

[ Top ]


Documentation generated on Mon, 31 May 2010 12:53:36 -0400 by phpDocumentor 1.4.3