53 return array_map(
function($uri) use ($calendarId) {
113 foreach ($objects as $object) {
138 if (!isset($object[
'calendardata'])) {
145 $result = $validator->validate($vObject, $filters);
180 if ($calendar[
'principaluri'] !== $principalUri) {
185 if (isset($calendar[
'{http://sabredav.org/ns}owner-principal']) && $calendar[
'{http://sabredav.org/ns}owner-principal'] !== $principalUri) {
192 'name' =>
'VCALENDAR',
193 'prop-filters' => [],
197 'is-not-defined' =>
false,
198 'time-range' => null,
199 'comp-filters' => [],
203 'is-not-defined' =>
false,
204 'time-range' => null,
207 'negate-condition' =>
false,
208 'collation' =>
'i;octet',
210 'param-filters' => [],
219 return $calendar[
'uri'] .
'/' .
$results[0];
calendarQuery($calendarId, array $filters)
Performs a calendar-query on the contents of this calendar.
getCalendarsForUser($principalUri)
Returns a list of calendars for a principal.
This class represents a set of properties that are going to be updated.
getCalendarObjects($calendarId)
Returns all calendar objects within a calendar.
getCalendarObject($calendarId, $objectUri)
Returns information from a single calendar object, based on it's object uri.
getCalendarObjectByUID($principalUri, $uid)
Searches through all of a users calendars and calendar objects to find an object with a specific UID...
Every CalDAV backend must at least implement this interface.
getMultipleCalendarObjects($calendarId, array $uris)
Returns a list of calendar objects.
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.
updateCalendar($calendarId, \Sabre\DAV\PropPatch $propPatch)
Updates properties for a calendar.
validateFilterForObject(array $object, array $filters)
This method validates if a filter (as passed to calendarQuery) matches the given object.
Abstract Calendaring backend.