54 return 'urn:example:bar';
68 foreach ($sharees as $sharee) {
70 if ($sharee->access === \
Sabre\DAV\Sharing\Plugin::ACCESS_NOACCESS) {
72 foreach ($this->invites as $k => $invitee) {
74 if ($invitee->href = $sharee->href) {
75 unset($this->invites[$k]);
81 foreach ($this->invites as $k => $invitee) {
83 if ($invitee->href = $sharee->href) {
84 if (!$sharee->inviteStatus) {
85 $sharee->inviteStatus = $invitee->inviteStatus;
88 $this->invites[$k] = $sharee;
93 if (!$sharee->inviteStatus) {
97 $this->invites[] = $sharee;
updateInvites(array $sharees)
Updates the list of sharees.
getInvites()
Returns the list of people whom this resource is shared with.
getName()
Returns the name of the node.
This interface represents a resource that has sharing capabilities, either because it's possible for ...
getShareResourceUri()
This function must return a URI that uniquely identifies the shared resource.
getShareAccess()
Returns the 'access level' for the instance of this shared resource.
__construct($name, $access)