Blame view

sources/3rdparty/sabre/dav/lib/Sabre/CalDAV/ICalendar.php 1.06 KB
03e52840d   Kload   Init
1
  <?php
6d9380f96   Cédric Dupont   Update sources OC...
2
3
  namespace Sabre\CalDAV;
  use Sabre\DAV;
03e52840d   Kload   Init
4
5
6
7
8
  /**
   * Calendar interface
   *
   * Implement this interface to allow a node to be recognized as an calendar.
   *
6d9380f96   Cédric Dupont   Update sources OC...
9
10
11
   * @copyright Copyright (C) 2007-2014 fruux GmbH (https://fruux.com/).
   * @author Evert Pot (http://evertpot.com/)
   * @license http://sabre.io/license/ Modified BSD License
03e52840d   Kload   Init
12
   */
6d9380f96   Cédric Dupont   Update sources OC...
13
  interface ICalendar extends DAV\ICollection {
03e52840d   Kload   Init
14
15
16
17
18
19
20
21
22
23
24
25
26
  
      /**
       * 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
6d9380f96   Cédric Dupont   Update sources OC...
27
       * documented by \Sabre\CalDAV\CalendarQueryParser.
03e52840d   Kload   Init
28
29
30
31
32
33
34
       *
       * @param array $filters
       * @return array
       */
      public function calendarQuery(array $filters);
  
  }