INode
in
This node represents a single notification.
The signature is mostly identical to that of Sabre\DAV\IFile, but the get() method 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.
Tags
Table of Contents
- getETag() : string
- Returns the etag for the notification.
- getNotificationType() : NotificationInterface
- This method must return an xml element, using the Sabre\CalDAV\Xml\Notification\NotificationInterface classes.
Methods
getETag()
Returns the etag for the notification.
public
getETag() : string
The etag must be surrounded by literal double-quotes.
Return values
string —getNotificationType()
This method must return an xml element, using the Sabre\CalDAV\Xml\Notification\NotificationInterface classes.
public
getNotificationType() : NotificationInterface