NoPackageName: ezcWebdavLockPluginPropertyHandler
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcWebdavLockPluginPropertyHandler
|
[
source]
Method Summary
Methods
extractActiveLockContent
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
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
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
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