xref: /plugin/davcal/vendor/sabre/dav/lib/CalDAV/Subscriptions/ISubscription.php (revision a1a3b6794e0e143a4a8b51d3185ce2d339be61ab)
1*a1a3b679SAndreas Boehler<?php
2*a1a3b679SAndreas Boehler
3*a1a3b679SAndreas Boehlernamespace Sabre\CalDAV\Subscriptions;
4*a1a3b679SAndreas Boehler
5*a1a3b679SAndreas Boehleruse Sabre\DAV\ICollection;
6*a1a3b679SAndreas Boehleruse Sabre\DAV\IProperties;
7*a1a3b679SAndreas Boehler
8*a1a3b679SAndreas Boehler/**
9*a1a3b679SAndreas Boehler * ISubscription
10*a1a3b679SAndreas Boehler *
11*a1a3b679SAndreas Boehler * Nodes implementing this interface represent calendar subscriptions.
12*a1a3b679SAndreas Boehler *
13*a1a3b679SAndreas Boehler * The subscription node doesn't do much, other than returning and updating
14*a1a3b679SAndreas Boehler * subscription-related properties.
15*a1a3b679SAndreas Boehler *
16*a1a3b679SAndreas Boehler * The following properties should be supported:
17*a1a3b679SAndreas Boehler *
18*a1a3b679SAndreas Boehler * 1. {DAV:}displayname
19*a1a3b679SAndreas Boehler * 2. {http://apple.com/ns/ical/}refreshrate
20*a1a3b679SAndreas Boehler * 3. {http://calendarserver.org/ns/}subscribed-strip-todos (omit if todos
21*a1a3b679SAndreas Boehler *    should not be stripped).
22*a1a3b679SAndreas Boehler * 4. {http://calendarserver.org/ns/}subscribed-strip-alarms (omit if alarms
23*a1a3b679SAndreas Boehler *    should not be stripped).
24*a1a3b679SAndreas Boehler * 5. {http://calendarserver.org/ns/}subscribed-strip-attachments (omit if
25*a1a3b679SAndreas Boehler *    attachments should not be stripped).
26*a1a3b679SAndreas Boehler * 6. {http://calendarserver.org/ns/}source (Must be a
27*a1a3b679SAndreas Boehler *     Sabre\DAV\Property\Href).
28*a1a3b679SAndreas Boehler * 7. {http://apple.com/ns/ical/}calendar-color
29*a1a3b679SAndreas Boehler * 8. {http://apple.com/ns/ical/}calendar-order
30*a1a3b679SAndreas Boehler *
31*a1a3b679SAndreas Boehler * It is recommended to support every property.
32*a1a3b679SAndreas Boehler *
33*a1a3b679SAndreas Boehler * @copyright Copyright (C) 2007-2015 fruux GmbH (https://fruux.com/).
34*a1a3b679SAndreas Boehler * @author Evert Pot (http://evertpot.com/)
35*a1a3b679SAndreas Boehler * @license http://sabre.io/license/ Modified BSD License
36*a1a3b679SAndreas Boehler */
37*a1a3b679SAndreas Boehlerinterface ISubscription extends ICollection, IProperties {
38*a1a3b679SAndreas Boehler
39*a1a3b679SAndreas Boehler
40*a1a3b679SAndreas Boehler}
41