ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($name, array $acl=[]) | |
getName () | |
Returns the name of the node. More... | |
getOwner () | |
Returns the owner principal. More... | |
getGroup () | |
Returns a group principal. More... | |
getACL () | |
Returns a list of ACE's for this node. More... | |
setACL (array $acl) | |
Updates the ACL. More... | |
getSupportedPrivilegeSet () | |
Returns the list of supported privileges for this node. 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... | |
Data Fields | |
$name | |
$acl | |
Definition at line 7 of file MockACLNode.php.
Sabre\DAVACL\MockACLNode::__construct | ( | $name, | |
array | $acl = [] |
||
) |
Definition at line 12 of file MockACLNode.php.
References Sabre\DAVACL\MockACLNode\$acl, and Sabre\DAVACL\MockACLNode\$name.
Sabre\DAVACL\MockACLNode::getACL | ( | ) |
Returns a list of ACE's for this node.
Each ACE has the following properties:
Implements Sabre\DAVACL\IACL.
Definition at line 37 of file MockACLNode.php.
References Sabre\DAVACL\MockACLNode\$acl.
Sabre\DAVACL\MockACLNode::getGroup | ( | ) |
Returns a group principal.
This must be a url to a principal, or null if there's no owner
Implements Sabre\DAVACL\IACL.
Definition at line 31 of file MockACLNode.php.
Sabre\DAVACL\MockACLNode::getName | ( | ) |
Returns the name of the node.
This is used to generate the url.
Implements Sabre\DAV\INode.
Definition at line 19 of file MockACLNode.php.
References Sabre\DAVACL\MockACLNode\$name.
Sabre\DAVACL\MockACLNode::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 25 of file MockACLNode.php.
Sabre\DAVACL\MockACLNode::getSupportedPrivilegeSet | ( | ) |
Returns the list of supported privileges for this node.
The returned data structure is a list of nested privileges. See Sabre::getDefaultSupportedPrivilegeSet for a simple standard structure.
If null is returned from this method, the default privilege set is used, which is fine for most common usecases.
Implements Sabre\DAVACL\IACL.
Definition at line 49 of file MockACLNode.php.
Sabre\DAVACL\MockACLNode::setACL | ( | array | $acl | ) |
Updates the ACL.
This method will receive a list of new ACE's as an array argument.
array | $acl |
Implements Sabre\DAVACL\IACL.
Definition at line 43 of file MockACLNode.php.
References Sabre\DAVACL\MockACLNode\$acl.
Sabre\DAVACL\MockACLNode::$acl |
Definition at line 10 of file MockACLNode.php.
Referenced by Sabre\DAVACL\MockACLNode\__construct(), Sabre\DAVACL\MockACLNode\getACL(), and Sabre\DAVACL\MockACLNode\setACL().
Sabre\DAVACL\MockACLNode::$name |
Definition at line 9 of file MockACLNode.php.
Referenced by Sabre\DAVACL\MockACLNode\__construct(), and Sabre\DAVACL\MockACLNode\getName().