Add support for the addressbook-multiget REPORT. Untested.

This commit is contained in:
Andrew McMillan committed 2010-05-12 22:13:46 +12:00
1 parent 8f22d87a82
commit f1a1c2fa73
3 files changed
+41 -10

No files matched your search

+10
View File
@@ -783,6 +783,15 @@ EOQRY;
)
);
}
if ( $this->collection->is_addressbook ) {
$this->supported_reports = array_merge(
$this->supported_reports,
array(
// 'urn:ietf:params:xml:ns:carddav:addressbook-query' => '',
'urn:ietf:params:xml:ns:carddav:addressbook-multiget' => ''
)
);
}
return $this->supported_reports;
}
@@ -1451,6 +1460,7 @@ EOQRY;
$reply->NSElement($prop, $tag, $cal->Render() );
break;
case 'urn:ietf:params:xml:ns:carddav:address-data':
case 'urn:ietf:params:xml:ns:caldav:calendar-data':
if ( $this->_is_collection ) return false;
if ( !isset($this->resource) ) $this->FetchResource();