ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
This interface represents a resource that has sharing capabilities, either because it's possible for an owner to share the resource, or because this is an instance of a shared resource. More...
Public Member Functions | |
getShareAccess () | |
Returns the 'access level' for the instance of this shared resource. More... | |
getShareResourceUri () | |
This function must return a URI that uniquely identifies the shared resource. More... | |
updateInvites (array $sharees) | |
Updates the list of sharees. More... | |
getInvites () | |
Returns the list of people whom this resource is shared with. More... | |
Public Member Functions inherited from Sabre\DAV\INode | |
delete () | |
Deleted the current node. More... | |
getName () | |
Returns the name of the node. More... | |
setName ($name) | |
Renames the node. More... | |
getLastModified () | |
Returns the last modification time, as a unix timestamp. More... | |
This interface represents a resource that has sharing capabilities, either because it's possible for an owner to share the resource, or because this is an instance of a shared resource.
Definition at line 16 of file ISharedNode.php.
Sabre\DAV\Sharing\ISharedNode::getInvites | ( | ) |
Returns the list of people whom this resource is shared with.
Every item in the returned array must be a Sharee object with at least the following properties set:
and optionally:
Implemented in Sabre\DAV\Mock\SharedNode, and Sabre\CalDAV\SharedCalendar.
Sabre\DAV\Sharing\ISharedNode::getShareAccess | ( | ) |
Returns the 'access level' for the instance of this shared resource.
The value should be one of the Sabre::ACCESS_ constants.
Implemented in Sabre\DAV\Mock\SharedNode, and Sabre\CalDAV\SharedCalendar.
Sabre\DAV\Sharing\ISharedNode::getShareResourceUri | ( | ) |
This function must return a URI that uniquely identifies the shared resource.
This URI should be identical across instances, and is also used in several other XML bodies to connect invites to resources.
This may simply be a relative reference to the original shared instance, but it could also be a urn. As long as it's a valid URI and unique.
Implemented in Sabre\DAV\Mock\SharedNode, and Sabre\CalDAV\SharedCalendar.
Sabre\DAV\Sharing\ISharedNode::updateInvites | ( | array | $sharees | ) |
Updates the list of sharees.
Every item must be a Sharee object.
Implemented in Sabre\DAV\Mock\SharedNode, and Sabre\CalDAV\SharedCalendar.