122 $elementMap = $reader->elementMap;
123 $elementMap[
'{DAV:}prop'] =
'Sabre\\DAV\\Xml\\Element\\Prop';
129 if ($elements)
foreach ($elements as $elem) {
130 if ($elem[
'name'] ===
'{DAV:}response') {
133 if ($elem[
'name'] ===
'{DAV:}sync-token') {
parseInnerTree(array $elementMap=null)
Parses all elements below the current element.
WebDAV MultiStatus parser.
static xmlDeserialize(Reader $reader)
The deserialize method is called during xml parsing.
The Reader class expands upon PHP's built-in XMLReader.
__construct(array $responses, $syncToken=null)
Constructor.
This is the XML element interface.
xmlSerialize(Writer $writer)
The serialize method is called during xml writing.
getSyncToken()
Returns the sync-token, if available.
getResponses()
Returns the response list.
writeElement($name, $content=null)
Write a full element tag and it's contents.