ISharedNode
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.
- Full name:
\Sabre\DAV\Sharing\ISharedNode
- Parent interfaces:
\Sabre\DAV\INode
Methods
getShareAccess
Returns the 'access level' for the instance of this shared resource.
The value should be one of the Sabre\DAV\Sharing\Plugin::ACCESS_ constants.
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.
updateInvites
Updates the list of sharees.
Every item must be a Sharee object.
Parameters:
Parameter | Type | Description |
---|---|---|
$sharees |
\Sabre\DAV\Xml\Element\Sharee[] |
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:
- $href
- $shareAccess
- $inviteStatus
and optionally:
- $properties
Inherited methods
delete
Deleted the current node.
getName
Returns the name of the node.
This is used to generate the url.
setName
Renames the node.
Parameters:
Parameter | Type | Description |
---|---|---|
$name |
string | The new name |
getLastModified
Returns the last modification time, as a unix timestamp. Return null if the information is not available.
Automatically generated on 2025-03-18