ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($name, $access) | |
getName () | |
Returns the name of the node. More... | |
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\Node | |
getLastModified () | |
Returns the last modification time as a unix timestamp. More... | |
delete () | |
Deletes the current node. More... | |
setName ($name) | |
Renames the node. More... | |
Protected Attributes | |
$name | |
$access | |
$invites = [] | |
Definition at line 8 of file SharedNode.php.
Sabre\DAV\Mock\SharedNode::__construct | ( | $name, | |
$access | |||
) |
Definition at line 14 of file SharedNode.php.
References Sabre\DAV\Mock\SharedNode\$access, and Sabre\DAV\Mock\SharedNode\$name.
Sabre\DAV\Mock\SharedNode::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:
Implements Sabre\DAV\Sharing\ISharedNode.
Definition at line 120 of file SharedNode.php.
References Sabre\DAV\Mock\SharedNode\$invites.
Sabre\DAV\Mock\SharedNode::getName | ( | ) |
Returns the name of the node.
This is used to generate the url.
Implements Sabre\DAV\INode.
Definition at line 21 of file SharedNode.php.
References Sabre\DAV\Mock\SharedNode\$name.
Sabre\DAV\Mock\SharedNode::getShareAccess | ( | ) |
Returns the 'access level' for the instance of this shared resource.
The value should be one of the Sabre::ACCESS_ constants.
Implements Sabre\DAV\Sharing\ISharedNode.
Definition at line 35 of file SharedNode.php.
References Sabre\DAV\Mock\SharedNode\$access.
Sabre\DAV\Mock\SharedNode::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.
Implements Sabre\DAV\Sharing\ISharedNode.
Definition at line 52 of file SharedNode.php.
Sabre\DAV\Mock\SharedNode::updateInvites | ( | array | $sharees | ) |
Updates the list of sharees.
Every item must be a Sharee object.
Sharee[] | $sharees |
Implements Sabre\DAV\Sharing\ISharedNode.
Definition at line 66 of file SharedNode.php.
References Sabre\DAV\Sharing\Plugin\INVITE_NORESPONSE.
|
protected |
Definition at line 11 of file SharedNode.php.
Referenced by Sabre\DAV\Mock\SharedNode\__construct(), and Sabre\DAV\Mock\SharedNode\getShareAccess().
|
protected |
Definition at line 12 of file SharedNode.php.
Referenced by Sabre\DAV\Mock\SharedNode\getInvites().
|
protected |
Definition at line 10 of file SharedNode.php.
Referenced by Sabre\DAV\Mock\SharedNode\__construct(), and Sabre\DAV\Mock\SharedNode\getName().