ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($name, $principalUrl, array $groupMembership=[], array $groupMemberSet=[]) | |
getName () | |
Returns the name of the node. More... | |
getDisplayName () | |
Returns the displayname. More... | |
getAlternateUriSet () | |
Returns a list of alternative urls for a principal. More... | |
getPrincipalUrl () | |
Returns the full principal url. More... | |
getGroupMemberSet () | |
Returns the list of group members. More... | |
getGroupMemberShip () | |
setGroupMemberSet (array $groupMemberSet) | |
Sets a list of group members. 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... | |
Public Member Functions inherited from Sabre\DAVACL\IPrincipal | |
getGroupMembership () | |
Returns the list of groups this principal is member of. More... | |
Data Fields | |
$name | |
$principalUrl | |
$groupMembership = [] | |
$groupMemberSet = [] | |
Definition at line 7 of file MockPrincipal.php.
Sabre\DAVACL\MockPrincipal::__construct | ( | $name, | |
$principalUrl, | |||
array | $groupMembership = [] , |
||
array | $groupMemberSet = [] |
||
) |
Definition at line 14 of file MockPrincipal.php.
References Sabre\DAVACL\MockPrincipal\$groupMemberSet, Sabre\DAVACL\MockPrincipal\$groupMembership, Sabre\DAVACL\MockPrincipal\$name, and Sabre\DAVACL\MockPrincipal\$principalUrl.
Sabre\DAVACL\MockPrincipal::getAlternateUriSet | ( | ) |
Returns a list of alternative urls for a principal.
This can for example be an email address, or ldap url.
Implements Sabre\DAVACL\IPrincipal.
Definition at line 35 of file MockPrincipal.php.
Sabre\DAVACL\MockPrincipal::getDisplayName | ( | ) |
Returns the displayname.
This should be a human readable name for the principal. If none is available, return the nodename.
Implements Sabre\DAVACL\IPrincipal.
Definition at line 29 of file MockPrincipal.php.
References Sabre\DAVACL\MockPrincipal\getName().
Sabre\DAVACL\MockPrincipal::getGroupMemberSet | ( | ) |
Returns the list of group members.
If this principal is a group, this function should return all member principal uri's for the group.
Implements Sabre\DAVACL\IPrincipal.
Definition at line 47 of file MockPrincipal.php.
References Sabre\DAVACL\MockPrincipal\$groupMemberSet.
Sabre\DAVACL\MockPrincipal::getGroupMemberShip | ( | ) |
Definition at line 53 of file MockPrincipal.php.
References Sabre\DAVACL\MockPrincipal\$groupMembership.
Sabre\DAVACL\MockPrincipal::getName | ( | ) |
Returns the name of the node.
This is used to generate the url.
Implements Sabre\DAV\INode.
Definition at line 23 of file MockPrincipal.php.
References Sabre\DAVACL\MockPrincipal\$name.
Referenced by Sabre\DAVACL\MockPrincipal\getDisplayName().
Sabre\DAVACL\MockPrincipal::getPrincipalUrl | ( | ) |
Returns the full principal url.
Implements Sabre\DAVACL\IPrincipal.
Definition at line 41 of file MockPrincipal.php.
References Sabre\DAVACL\MockPrincipal\$principalUrl.
Sabre\DAVACL\MockPrincipal::setGroupMemberSet | ( | array | $principals | ) |
Sets a list of group members.
If this principal is a group, this method sets all the group members. The list of members is always overwritten, never appended to.
This method should throw an exception if the members could not be set.
array | $principals |
Implements Sabre\DAVACL\IPrincipal.
Definition at line 59 of file MockPrincipal.php.
References Sabre\DAVACL\MockPrincipal\$groupMemberSet.
Sabre\DAVACL\MockPrincipal::$groupMemberSet = [] |
Definition at line 12 of file MockPrincipal.php.
Referenced by Sabre\DAVACL\MockPrincipal\__construct(), Sabre\DAVACL\MockPrincipal\getGroupMemberSet(), and Sabre\DAVACL\MockPrincipal\setGroupMemberSet().
Sabre\DAVACL\MockPrincipal::$groupMembership = [] |
Definition at line 11 of file MockPrincipal.php.
Referenced by Sabre\DAVACL\MockPrincipal\__construct(), and Sabre\DAVACL\MockPrincipal\getGroupMemberShip().
Sabre\DAVACL\MockPrincipal::$name |
Definition at line 9 of file MockPrincipal.php.
Referenced by Sabre\DAVACL\MockPrincipal\__construct(), and Sabre\DAVACL\MockPrincipal\getName().
Sabre\DAVACL\MockPrincipal::$principalUrl |
Definition at line 10 of file MockPrincipal.php.
Referenced by Sabre\DAVACL\MockPrincipal\__construct(), and Sabre\DAVACL\MockPrincipal\getPrincipalUrl().