ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
This node represents a single notification. More...
Public Member Functions | |
__construct (CalDAV\Backend\NotificationSupport $caldavBackend, $principalUri, NotificationInterface $notification) | |
Constructor. More... | |
getName () | |
Returns the path name for this notification. More... | |
getETag () | |
Returns the etag for the notification. More... | |
getNotificationType () | |
This method must return an xml element, using the Sabre classes. More... | |
delete () | |
Deletes this notification. More... | |
getOwner () | |
Returns the owner principal. More... | |
![]() | |
put ($data) | |
Replaces the contents of the file. More... | |
get () | |
Returns the data. More... | |
getSize () | |
Returns the size of the file, in bytes. More... | |
getETag () | |
Returns the ETag for a file. More... | |
getContentType () | |
Returns the mime-type for a file. More... | |
![]() | |
getLastModified () | |
Returns the last modification time as a unix timestamp. More... | |
delete () | |
Deletes the current node. More... | |
setName ($name) | |
Renames the node. More... | |
![]() | |
getGroup () | |
Returns a group principal. More... | |
getACL () | |
Returns a list of ACE's for this node. More... | |
setACL (array $acl) | |
Updates the ACL. More... | |
getSupportedPrivilegeSet () | |
Returns the list of supported privileges for this node. More... | |
Protected Attributes | |
$caldavBackend | |
$notification | |
$principalUri | |
This node represents a single notification.
The signature is mostly identical to that of Sabre, but the get() method MUST return an xml document that matches the requirements of the 'caldav-notifications.txt' spec.
Sabre\CalDAV\Notifications\Node::__construct | ( | CalDAV\Backend\NotificationSupport | $caldavBackend, |
$principalUri, | |||
NotificationInterface | $notification | ||
) |
Constructor.
CalDAV\Backend\NotificationSupport | $caldavBackend | |
string | $principalUri | |
NotificationInterface | $notification |
Definition at line 53 of file Node.php.
References Sabre\CalDAV\Notifications\Node\$caldavBackend, Sabre\CalDAV\Notifications\Node\$notification, Sabre\CalDAV\Notifications\Node\$principalUri, and notification().
Sabre\CalDAV\Notifications\Node::delete | ( | ) |
Deletes this notification.
Implements Sabre\DAV\INode.
Definition at line 102 of file Node.php.
References Sabre\CalDAV\Notifications\Node\getOwner(), and notification().
Sabre\CalDAV\Notifications\Node::getETag | ( | ) |
Returns the etag for the notification.
The etag must be surrounded by litteral double-quotes.
Implements Sabre\CalDAV\Notifications\INode.
Definition at line 79 of file Node.php.
References notification().
Sabre\CalDAV\Notifications\Node::getName | ( | ) |
Returns the path name for this notification.
Implements Sabre\DAV\INode.
Definition at line 66 of file Node.php.
References notification().
Sabre\CalDAV\Notifications\Node::getNotificationType | ( | ) |
This method must return an xml element, using the Sabre classes.
Implements Sabre\CalDAV\Notifications\INode.
Definition at line 91 of file Node.php.
References Sabre\CalDAV\Notifications\Node\$notification.
Sabre\CalDAV\Notifications\Node::getOwner | ( | ) |
Returns the owner principal.
This must be a url to a principal, or null if there's no owner
Implements Sabre\DAVACL\IACL.
Definition at line 115 of file Node.php.
References Sabre\CalDAV\Notifications\Node\$principalUri.
Referenced by Sabre\CalDAV\Notifications\Node\delete().
|
protected |
Definition at line 30 of file Node.php.
Referenced by Sabre\CalDAV\Notifications\Node\__construct().
|
protected |
Definition at line 37 of file Node.php.
Referenced by Sabre\CalDAV\Notifications\Node\__construct(), and Sabre\CalDAV\Notifications\Node\getNotificationType().
|
protected |
Definition at line 44 of file Node.php.
Referenced by Sabre\CalDAV\Notifications\Node\__construct(), and Sabre\CalDAV\Notifications\Node\getOwner().