2013-10-21 22:46:31 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Sabre\CalDAV;
|
|
|
|
|
|
|
|
/**
|
2016-05-11 00:26:44 +00:00
|
|
|
* This interface represents a node that may contain calendar objects.
|
2013-10-21 22:46:31 +00:00
|
|
|
*
|
2016-05-11 00:26:44 +00:00
|
|
|
* This is the shared parent for both the Inbox collection and calendars
|
|
|
|
* resources.
|
2013-10-21 22:46:31 +00:00
|
|
|
*
|
2016-05-11 00:26:44 +00:00
|
|
|
* In most cases you will likely want to look at ICalendar instead of this
|
|
|
|
* interface.
|
|
|
|
*
|
|
|
|
* @copyright Copyright (C) fruux GmbH (https://fruux.com/)
|
2013-10-21 22:46:31 +00:00
|
|
|
* @author Evert Pot (http://evertpot.com/)
|
2014-06-28 20:28:08 +00:00
|
|
|
* @license http://sabre.io/license/ Modified BSD License
|
2013-10-21 22:46:31 +00:00
|
|
|
*/
|
2016-05-11 00:26:44 +00:00
|
|
|
interface ICalendarObjectContainer extends \Sabre\DAV\ICollection {
|
2013-10-21 22:46:31 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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 \Sabre\CalDAV\CalendarQueryParser.
|
|
|
|
*
|
|
|
|
* @param array $filters
|
|
|
|
* @return array
|
|
|
|
*/
|
2016-05-11 00:26:44 +00:00
|
|
|
function calendarQuery(array $filters);
|
2013-10-21 22:46:31 +00:00
|
|
|
|
|
|
|
}
|