ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
BackendInterface.php
Go to the documentation of this file.
1<?php
2
4
17
34 function getPrincipalsByPrefix($prefixPath);
35
45
62 function updatePrincipal($path, \Sabre\DAV\PropPatch $propPatch);
63
93 function searchPrincipals($prefixPath, array $searchProperties, $test = 'allof');
94
112 function findByUri($uri, $principalPrefix);
113
120 function getGroupMemberSet($principal);
121
128 function getGroupMembership($principal);
129
139 function setGroupMemberSet($principal, array $members);
140
141}
$test
Definition: Utf8Test.php:84
$path
Definition: aliased.php:25
An exception for terminatinating execution or to throw for unit testing.
This class represents a set of properties that are going to be updated.
Definition: PropPatch.php:20
Implement this interface to create your own principal backends.
setGroupMemberSet($principal, array $members)
Updates the list of group members for a group principal.
getPrincipalByPath($path)
Returns a specific principal, specified by it's path.
searchPrincipals($prefixPath, array $searchProperties, $test='allof')
This method is used to search for principals matching a set of properties.
getPrincipalsByPrefix($prefixPath)
Returns a list of principals based on a prefix.
findByUri($uri, $principalPrefix)
Finds a principal by its URI.
getGroupMembership($principal)
Returns the list of groups a principal is a member of.
updatePrincipal($path, \Sabre\DAV\PropPatch $propPatch)
Updates one ore more webdav properties on a principal.
getGroupMemberSet($principal)
Returns the list of members for a group-principal.