ISubscription.php 1.2 KB

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