Blame view
sources/3rdparty/sabre/dav/lib/Sabre/CalDAV/Notifications/INode.php
992 Bytes
|
03e52840d
|
1 |
<?php |
|
6d9380f96
|
2 |
namespace Sabre\CalDAV\Notifications; |
|
03e52840d
|
3 4 5 |
/** * This node represents a single notification. * |
|
6d9380f96
|
6 |
* The signature is mostly identical to that of Sabre\DAV\IFile, but the get() method |
|
03e52840d
|
7 8 9 10 11 12 |
* MUST return an xml document that matches the requirements of the * 'caldav-notifications.txt' spec. * * For a complete example, check out the Notification class, which contains * some helper functions. * |
|
6d9380f96
|
13 14 15 |
* @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
|
16 |
*/ |
|
6d9380f96
|
17 |
interface INode {
|
|
03e52840d
|
18 19 20 |
/**
* This method must return an xml element, using the
|
|
6d9380f96
|
21 |
* Sabre\CalDAV\Notifications\INotificationType classes. |
|
03e52840d
|
22 |
* |
|
6d9380f96
|
23 |
* @return INotificationType |
|
03e52840d
|
24 25 26 27 28 29 30 31 32 33 34 35 36 |
*/
function getNotificationType();
/**
* Returns the etag for the notification.
*
* The etag must be surrounded by litteral double-quotes.
*
* @return string
*/
function getETag();
}
|