ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Abstract Principal Backend. More...
Public Member Functions | |
findByUri ($uri, $principalPrefix) | |
Finds a principal by its URI. More... | |
Public Member Functions inherited from Sabre\DAVACL\PrincipalBackend\BackendInterface | |
getPrincipalsByPrefix ($prefixPath) | |
Returns a list of principals based on a prefix. More... | |
getPrincipalByPath ($path) | |
Returns a specific principal, specified by it's path. More... | |
updatePrincipal ($path, \Sabre\DAV\PropPatch $propPatch) | |
Updates one ore more webdav properties on a principal. More... | |
searchPrincipals ($prefixPath, array $searchProperties, $test='allof') | |
This method is used to search for principals matching a set of properties. More... | |
getGroupMemberSet ($principal) | |
Returns the list of members for a group-principal. More... | |
getGroupMembership ($principal) | |
Returns the list of groups a principal is a member of. More... | |
setGroupMemberSet ($principal, array $members) | |
Updates the list of group members for a group principal. More... | |
Abstract Principal Backend.
Currently this class has no function. It's here for consistency and so we have a non-bc-breaking way to add a default generic implementation to functions we may add in the future.
Definition at line 16 of file AbstractBackend.php.
Sabre\DAVACL\PrincipalBackend\AbstractBackend::findByUri | ( | $uri, | |
$principalPrefix | |||
) |
Finds a principal by its URI.
This method may receive any type of uri, but mailto: addresses will be the most common.
Implementation of this API is optional. It is currently used by the CalDAV system to find principals based on their email addresses. If this API is not implemented, some features may not work correctly.
This method must return a relative principal path, or null, if the principal was not found or you refuse to find it.
string | $uri | |
string | $principalPrefix |
Implements Sabre\DAVACL\PrincipalBackend\BackendInterface.
Definition at line 35 of file AbstractBackend.php.
References $result, and Sabre\DAVACL\PrincipalBackend\BackendInterface\searchPrincipals().