ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Subscription Node. More...
Public Member Functions | |
__construct (SubscriptionSupport $caldavBackend, array $subscriptionInfo) | |
Constructor. More... | |
getName () | |
Returns the name of the node. More... | |
getLastModified () | |
Returns the last modification time. More... | |
delete () | |
Deletes the current node. More... | |
getChildren () | |
Returns an array with all the child nodes. More... | |
propPatch (PropPatch $propPatch) | |
Updates properties on this node. More... | |
getProperties ($properties) | |
Returns a list of properties for this nodes. More... | |
getOwner () | |
Returns the owner principal. More... | |
getACL () | |
Returns a list of ACE's for this node. More... | |
Public Member Functions inherited from Sabre\DAV\Collection | |
getChild ($name) | |
Returns a child object, by its name. More... | |
childExists ($name) | |
Checks is a child-node exists. More... | |
createFile ($name, $data=null) | |
Creates a new file in the directory. More... | |
createDirectory ($name) | |
Creates a new subdirectory. More... | |
Public Member Functions inherited from Sabre\DAV\Node | |
getLastModified () | |
Returns the last modification time as a unix timestamp. More... | |
delete () | |
Deletes the current node. More... | |
setName ($name) | |
Renames the node. More... | |
Public Member Functions inherited from Sabre\DAVACL\IACL | |
getGroup () | |
Returns a group principal. More... | |
setACL (array $acl) | |
Updates the ACL. More... | |
getSupportedPrivilegeSet () | |
Returns the list of supported privileges for this node. More... | |
Protected Attributes | |
$caldavBackend | |
$subscriptionInfo | |
Subscription Node.
This node represents a subscription.
Definition at line 21 of file Subscription.php.
Sabre\CalDAV\Subscriptions\Subscription::__construct | ( | SubscriptionSupport | $caldavBackend, |
array | $subscriptionInfo | ||
) |
Constructor.
SubscriptionSupport | $caldavBackend | |
array | $subscriptionInfo |
Definition at line 45 of file Subscription.php.
References Sabre\CalDAV\Subscriptions\Subscription\$caldavBackend, $r, and Sabre\CalDAV\Subscriptions\Subscription\$subscriptionInfo.
Sabre\CalDAV\Subscriptions\Subscription::delete | ( | ) |
Deletes the current node.
Implements Sabre\DAV\INode.
Definition at line 96 of file Subscription.php.
Sabre\CalDAV\Subscriptions\Subscription::getACL | ( | ) |
Returns a list of ACE's for this node.
Each ACE has the following properties:
Implements Sabre\DAVACL\IACL.
Definition at line 199 of file Subscription.php.
References Sabre\CalDAV\Subscriptions\Subscription\getOwner().
Sabre\CalDAV\Subscriptions\Subscription::getChildren | ( | ) |
Returns an array with all the child nodes.
Implements Sabre\DAV\ICollection.
Definition at line 109 of file Subscription.php.
Sabre\CalDAV\Subscriptions\Subscription::getLastModified | ( | ) |
Returns the last modification time.
Implements Sabre\DAV\INode.
Definition at line 83 of file Subscription.php.
Sabre\CalDAV\Subscriptions\Subscription::getName | ( | ) |
Returns the name of the node.
This is used to generate the url.
Implements Sabre\DAV\INode.
Definition at line 72 of file Subscription.php.
Sabre\CalDAV\Subscriptions\Subscription::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 181 of file Subscription.php.
Referenced by Sabre\CalDAV\Subscriptions\Subscription\getACL().
Sabre\CalDAV\Subscriptions\Subscription::getProperties | ( | $properties | ) |
Returns a list of properties for this nodes.
The properties list is a list of propertynames the client requested, encoded in clark-notation {xmlnamespace}tagname.
If the array is empty, it means 'all properties' were requested.
Note that it's fine to liberally give properties back, instead of conforming to the list of requested properties. The Server class will filter out the extra.
array | $properties |
Implements Sabre\DAV\IProperties.
Definition at line 151 of file Subscription.php.
References $r.
Sabre\CalDAV\Subscriptions\Subscription::propPatch | ( | PropPatch | $propPatch | ) |
Updates properties on this node.
This method received a PropPatch object, which contains all the information about the update.
To update specific properties, call the 'handle' method on this object. Read the PropPatch documentation for more information.
PropPatch | $propPatch |
Implements Sabre\DAV\IProperties.
Definition at line 127 of file Subscription.php.
|
protected |
Definition at line 30 of file Subscription.php.
Referenced by Sabre\CalDAV\Subscriptions\Subscription\__construct().
|
protected |
Definition at line 37 of file Subscription.php.
Referenced by Sabre\CalDAV\Subscriptions\Subscription\__construct().