Path

ez components / documentation / api reference / 2007.2beta1 / webdav


eZ Components 2007.2beta1

Webdav: ezcWebdavLockDiscoveryPropertyActiveLock

[ Tutorial ] [ Plugin architecture ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcWebdavLockDiscoveryPropertyActiveLock

Objects of this class are used in the ezcWebdavLockDiscoveryProperty class. [source]

Parents

ezcWebdavInfrastructureBase
   |
   --ezcWebdavProperty
      |
      --ezcWebdavLiveProperty
         |
         --ezcWebdavSupportedLockPropertyLockentry
            |
            --ezcWebdavLockDiscoveryPropertyActiveLock

Properties

int read/write  $depth
Constant indicating 0, 1 or infinity.
string read/write  $owner
Owner of this lock (free form string). Null if not provided.
ezcWebdavDateTime|null read/write  $timeout
Timeout date or null for inifinite. Null if not provided.
array(string) read/write  $tokens
Tokens submitted in <locktocken> (URIs). Null if not provided. These are originally covered in additional <href> elements, which is left out here.

Inherited Member Variables

From ezcWebdavProperty:
protected  ezcWebdavProperty::$properties
From ezcWebdavInfrastructureBase:
protected  ezcWebdavInfrastructureBase::$pluginData

Method Summary

public void __construct( [$lockType = ezcWebdavLockRequest::TYPE_READ], [$lockScope = ezcWebdavLockRequest::SCOPE_SHARED], [$depth = ezcWebdavRequest::DEPTH_INFINITY], [$owner = null], [$timeout = null], [$tokens = array()] )
Creates a new ezcWebdavSupportedLockPropertyLockentry.
public void clear( )
Remove all contents from a property.
public bool hasNoContent( )
Check if property has no content.

Inherited Methods

From ezcWebdavSupportedLockPropertyLockentry :
public void ezcWebdavSupportedLockPropertyLockentry::__construct()
Creates a new ezcWebdavSupportedLockPropertyLockentry.
public void ezcWebdavSupportedLockPropertyLockentry::clear()
Remove all contents from a property.
public bool ezcWebdavSupportedLockPropertyLockentry::hasNoContent()
Check if property has no content.
From ezcWebdavLiveProperty :
public void ezcWebdavLiveProperty::__construct()
Creates a new live property.
From ezcWebdavProperty :
public void ezcWebdavProperty::__construct()
Creates a new property.
public void ezcWebdavProperty::clear()
Remove all contents from a property.
protected void ezcWebdavProperty::hasError()
Add property validation error.
public abstract bool ezcWebdavProperty::hasNoContent()
Check if property has no content.
From ezcWebdavInfrastructureBase :
public mixed ezcWebdavInfrastructureBase::getPluginData()
Retrieves plugin data from the storage.
public bool ezcWebdavInfrastructureBase::hasPluginData()
Returns if plugin data is available in the storage.
public void ezcWebdavInfrastructureBase::removePluginData()
Removes plugin data from the storage.
public void ezcWebdavInfrastructureBase::setPluginData()
Sets plugin data in the storage.

Methods

__construct

void __construct( [int $lockType = ezcWebdavLockRequest::TYPE_READ], [int $lockScope = ezcWebdavLockRequest::SCOPE_SHARED], [int $depth = ezcWebdavRequest::DEPTH_INFINITY], [string $owner = null], [ezcWebdavDateTime $timeout = null], [array(string) $tokens = array()] )
Creates a new ezcWebdavSupportedLockPropertyLockentry.

Parameters

Name Type Description
$lockType int Lock type (constant ezcWebdavLockRequest::TYPE_*).
$lockScope int Lock scope (constant ezcWebdavLockRequest::SCOPE_*).
$depth int Lock depth (constant ezcWebdavRequest::DEPTH_*).
$owner string  
$timeout ezcWebdavDateTime  
$tokens array(string)  

Redefinition of

Method Description
ezcWebdavSupportedLockPropertyLockentry::__construct() Creates a new ezcWebdavSupportedLockPropertyLockentry.

clear

void clear( )
Remove all contents from a property.
Clear a property, so that it will be recognized as empty later.

Redefinition of

Method Description
ezcWebdavSupportedLockPropertyLockentry::clear() Remove all contents from a property.

hasNoContent

bool hasNoContent( )
Check if property has no content.
Should return true, if property has no assigned content.

Redefinition of

Method Description
ezcWebdavSupportedLockPropertyLockentry::hasNoContent() Check if property has no content.

Last updated: Wed, 28 Nov 2007