aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/lib/SabreDAV/lib/OldSabre/CalDAV/ICalendar.php
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/lib/SabreDAV/lib/OldSabre/CalDAV/ICalendar.php')
-rw-r--r--calendar/lib/SabreDAV/lib/OldSabre/CalDAV/ICalendar.php36
1 files changed, 36 insertions, 0 deletions
diff --git a/calendar/lib/SabreDAV/lib/OldSabre/CalDAV/ICalendar.php b/calendar/lib/SabreDAV/lib/OldSabre/CalDAV/ICalendar.php
new file mode 100644
index 0000000..70916bc
--- /dev/null
+++ b/calendar/lib/SabreDAV/lib/OldSabre/CalDAV/ICalendar.php
@@ -0,0 +1,36 @@
+<?php
+
+namespace OldSabre\CalDAV;
+use OldSabre\DAV;
+
+/**
+ * Calendar interface
+ *
+ * Implement this interface to allow a node to be recognized as an calendar.
+ *
+ * @copyright Copyright (C) 2007-2015 fruux GmbH (https://fruux.com/).
+ * @author Evert Pot (http://evertpot.com/)
+ * @license http://sabre.io/license/ Modified BSD License
+ */
+interface ICalendar extends DAV\ICollection {
+
+ /**
+ * Performs a calendar-query on the contents of this calendar.
+ *
+ * The calendar-query is defined in RFC4791 : CalDAV. Using the
+ * calendar-query it is possible for a client to request a specific set of
+ * object, based on contents of iCalendar properties, date-ranges and
+ * iCalendar component types (VTODO, VEVENT).
+ *
+ * This method should just return a list of (relative) urls that match this
+ * query.
+ *
+ * The list of filters are specified as an array. The exact array is
+ * documented by \OldSabre\CalDAV\CalendarQueryParser.
+ *
+ * @param array $filters
+ * @return array
+ */
+ public function calendarQuery(array $filters);
+
+}

© 2014-2024 Faster IT GmbH | imprint | privacy policy