Path

ez components / documentation / api reference / 2007.2alpha1 / nopackagename


eZ Components 2007.2alpha1

NoPackageName: ezcWebdavLockPluginPropertyHandler

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

Class: ezcWebdavLockPluginPropertyHandler

[source]

Method Summary

protected ezcWebdavLockDiscoveryPropertyActiveLock extractActiveLockContent( $domElement )
Extracts the <activelock /> XML elements.
public ezcWebdavLiveProperty|null extractLiveProperty( $domElement )
Extracts a live property from a DOMElement.
protected ezcWebdavSupportedLockProperty extractLockEntryContent( $domElement )
Extracts the <lockentry /> XML elements.
protected array(DOMElement) serializeActiveLockContent( [$activeLocks = null], $dom, $links )
Serializes an array of ezcWebdavLockDiscoveryPropertyActiveLock elements to XML.
public DOMElement serializeLiveProperty( $property, $parentElement )
Returns the XML representation of a live property.
protected array(DOMElement) serializeLockEntryContent( [$lockEntries = null], $dom )
Serializes an array of ezcWebdavSupportedLockPropertyLockentry elements to XML.

Methods

extractActiveLockContent

ezcWebdavLockDiscoveryPropertyActiveLock extractActiveLockContent( $domElement )
Extracts the <activelock /> XML elements.
This method extracts the <activelock /> XML elements from the <lockdiscovery /> element and returns the corresponding ezcWebdavLockDiscoveryPropertyActiveLock object to be used as the content of ezcWebdavLockDiscoveryProperty.

Parameters

Name Type Description
$domElement DOMElement  

extractLiveProperty

ezcWebdavLiveProperty|null extractLiveProperty( $domElement )
Extracts a live property from a DOMElement.
This method is responsible for parsing WebDAV live properties. The DOMElement $domElement must be an XML element in the DAV: namepsace. If the received property is not defined in RFC 2518, null is returned.

Parameters

Name Type Description
$domElement DOMElement  

extractLockEntryContent

ezcWebdavSupportedLockProperty extractLockEntryContent( $domElement )
Extracts the <lockentry /> XML elements.
This method extracts the <lockentry /> XML elements from the <supportedlock /> element and returns the corresponding ezcWebdavSupportedLockPropertyLockentry object to be used as the content of ezcWebdavSupportedLockProperty.

Parameters

Name Type Description
$domElement DOMElement  

serializeActiveLockContent

array(DOMElement) serializeActiveLockContent( [ $activeLocks = null], $dom, array(ezcWebdavLockDiscoveryPropertyActiveLock) $links )
Serializes an array of ezcWebdavLockDiscoveryPropertyActiveLock elements to XML.

Parameters

Name Type Description
$links array(ezcWebdavLockDiscoveryPropertyActiveLock)  
$dom DOMDocument To create the returned DOMElements.
$activeLocks array  

serializeLiveProperty

DOMElement serializeLiveProperty( $property, $parentElement )
Returns the XML representation of a live property.
Returns a DOMElement, representing the content of the given $property. The newly created element is also appended as a child to the given $parentElement.

Parameters

Name Type Description
$property ezcWebdavLiveProperty  
$parentElement DOMElement  

serializeLockEntryContent

array(DOMElement) serializeLockEntryContent( [ $lockEntries = null], $dom )
Serializes an array of ezcWebdavSupportedLockPropertyLockentry elements to XML.

Parameters

Name Type Description
$lockEntries array(ezcWebdavSupportedLockPropertyLockentry)  
$dom DOMDocument To create the returned DOMElements.

Last updated: Mon, 12 Nov 2007