ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Sabre\DAVACL\PrincipalBackend\CreatePrincipalSupport Interface Reference

Implement this interface to add support for creating new principals to your principal backend. More...

+ Inheritance diagram for Sabre\DAVACL\PrincipalBackend\CreatePrincipalSupport:
+ Collaboration diagram for Sabre\DAVACL\PrincipalBackend\CreatePrincipalSupport:

Public Member Functions

 createPrincipal ($path, MkCol $mkCol)
 Creates a new principal. 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...
 
 findByUri ($uri, $principalPrefix)
 Finds a principal by its URI. 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...
 

Detailed Description

Implement this interface to add support for creating new principals to your principal backend.

Author
Evert Pot (http://evertpot.com/) http://sabre.io/license/ Modified BSD License

Definition at line 15 of file CreatePrincipalSupport.php.

Member Function Documentation

◆ createPrincipal()

Sabre\DAVACL\PrincipalBackend\CreatePrincipalSupport::createPrincipal (   $path,
MkCol  $mkCol 
)

Creates a new principal.

This method receives a full path for the new principal. The mkCol object contains any additional webdav properties specified during the creation of the principal.

Parameters
string$path
MkCol$mkCol
Returns
void

Implemented in Sabre\DAVACL\PrincipalBackend\PDO.


The documentation for this interface was generated from the following file: