61 $obj->properties = self::traverse($elems);
78 foreach ($elems as $elem) {
80 if ($elem[
'name'] !==
'{DAV:}property') {
84 $namespace = isset($elem[
'attributes'][
'namespace']) ?
85 $elem[
'attributes'][
'namespace'] :
88 $propName =
'{' .
$namespace .
'}' . $elem[
'attributes'][
'name'];
91 if (is_array($elem[
'value'])) {
92 $value = self::traverse($elem[
'value']);
parseInnerTree(array $elementMap=null)
Parses all elements below the current element.
if($err=$client->getError()) $namespace
ExpandProperty request parser.
static xmlDeserialize(Reader $reader)
The deserialize method is called during xml parsing.
The Reader class expands upon PHP's built-in XMLReader.
Implementing the XmlDeserializable interface allows you to use a class as a deserializer for a specif...
static traverse($elems)
This method is used by deserializeXml, to recursively parse the {DAV:}property elements.