78 '{urn:ietf:params:xml:ns:carddav}address-data' =>
'Sabre\\CardDAV\\Xml\\Filter\\AddressData',
79 '{DAV:}prop' =>
'Sabre\\Xml\\Element\\KeyValue',
87 foreach ($elems as $elem) {
89 switch ($elem[
'name']) {
92 $newProps[
'properties'] = array_keys($elem[
'value']);
94 $newProps += $elem[
'value'][
'{' . Plugin::NS_CARDDAV .
'}address-data'];
98 $newProps[
'hrefs'][] =
Uri\resolve($reader->contextUri, $elem[
'value']);
106 foreach ($newProps as
$key => $value) {
parseInnerTree(array $elementMap=null)
Parses all elements below the current element.
resolve($basePath, $newPath)
This file contains all the uri handling functions.
const NS_CARDDAV
xml namespace for CardDAV elements
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...
AddressBookMultiGetReport request parser.
static xmlDeserialize(Reader $reader)
The deserialize method is called during xml parsing.