ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct (PrincipalBackend\BackendInterface $principalBackend, array $principalProperties=[]) | |
Creates the principal object. More... | |
getPrincipalUrl () | |
Returns the full principal url. More... | |
getAlternateUriSet () | |
Returns a list of alternative urls for a principal. More... | |
getGroupMemberSet () | |
Returns the list of group members. More... | |
getGroupMembership () | |
Returns the list of groups this principal is member of. More... | |
setGroupMemberSet (array $groupMembers) | |
Sets a list of group members. More... | |
getName () | |
Returns this principals name. More... | |
getDisplayName () | |
Returns the name of the user. More... | |
getProperties ($requestedProperties) | |
Returns a list of properties. More... | |
propPatch (DAV\PropPatch $propPatch) | |
Updates properties on this node. More... | |
getOwner () | |
Returns the owner principal. 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\DAV\IProperties | |
propPatch (PropPatch $propPatch) | |
Updates properties on this node. More... | |
Public Member Functions inherited from Sabre\DAVACL\IACL | |
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... | |
Protected Attributes | |
$principalProperties | |
$principalBackend | |
Principal class.
This class is a representation of a simple principal
Many WebDAV specs require a user to show up in the directory structure.
This principal also has basic ACL settings, only allowing the principal access it's own principal.
Definition at line 23 of file Principal.php.
Sabre\DAVACL\Principal::__construct | ( | PrincipalBackend\BackendInterface | $principalBackend, |
array | $principalProperties = [] |
||
) |
Creates the principal object.
PrincipalBackend\BackendInterface | $principalBackend | |
array | $principalProperties |
Definition at line 47 of file Principal.php.
References Sabre\DAVACL\Principal\$principalBackend, and Sabre\DAVACL\Principal\$principalProperties.
Sabre\DAVACL\Principal::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 75 of file Principal.php.
Sabre\DAVACL\Principal::getDisplayName | ( | ) |
Returns the name of the user.
Implements Sabre\DAVACL\IPrincipal.
Definition at line 155 of file Principal.php.
References Sabre\DAVACL\Principal\getName().
Sabre\DAVACL\Principal::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 100 of file Principal.php.
Sabre\DAVACL\Principal::getGroupMembership | ( | ) |
Returns the list of groups this principal is member of.
If this principal is a member of a (list of) groups, this function should return a list of principal uri's for it's members.
Implements Sabre\DAVACL\IPrincipal.
Definition at line 114 of file Principal.php.
Sabre\DAVACL\Principal::getName | ( | ) |
Returns this principals name.
Implements Sabre\DAV\INode.
Definition at line 142 of file Principal.php.
References $name, and Sabre\HTTP\URLUtil\splitPath().
Referenced by Sabre\DAVACL\Principal\getDisplayName().
Sabre\DAVACL\Principal::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 214 of file Principal.php.
Sabre\DAVACL\Principal::getPrincipalUrl | ( | ) |
Returns the full principal url.
Implements Sabre\DAVACL\IPrincipal.
Definition at line 62 of file Principal.php.
Sabre\DAVACL\Principal::getProperties | ( | $requestedProperties | ) |
Returns a list of properties.
array | $requestedProperties |
Implements Sabre\DAV\IProperties.
Definition at line 171 of file Principal.php.
Sabre\DAVACL\Principal::propPatch | ( | DAV\PropPatch | $propPatch | ) |
Updates properties on this node.
This method received a PropPatch object, which contains all the information about the update.
To update specific properties, call the 'handle' method on this object. Read the PropPatch documentation for more information.
DAV\PropPatch | $propPatch |
Definition at line 198 of file Principal.php.
Sabre\DAVACL\Principal::setGroupMemberSet | ( | array | $groupMembers | ) |
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 | $groupMembers |
Implements Sabre\DAVACL\IPrincipal.
Definition at line 131 of file Principal.php.
|
protected |
Definition at line 39 of file Principal.php.
Referenced by Sabre\DAVACL\Principal\__construct().
|
protected |
Definition at line 32 of file Principal.php.
Referenced by Sabre\DAVACL\Principal\__construct().