ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Principals Collection. More...
Public Member Functions | |
getChildForPrincipal (array $principal) | |
This method returns a node for a principal. More... | |
createExtendedCollection ($name, MkCol $mkCol) | |
Creates a new collection. More... | |
getACL () | |
Returns a list of ACE's for this node. More... | |
![]() | |
__construct (PrincipalBackend\BackendInterface $principalBackend, $principalPrefix='principals') | |
Creates the object. More... | |
getChildForPrincipal (array $principalInfo) | |
This method returns a node for a principal. More... | |
getName () | |
Returns the name of this collection. More... | |
getChildren () | |
Return the list of users. More... | |
getChild ($name) | |
Returns a child object, by its name. More... | |
searchPrincipals (array $searchProperties, $test='allof') | |
This method is used to search for principals matching a set of properties. More... | |
findByUri ($uri) | |
Finds a principal by its URI. More... | |
![]() | |
getChild ($name) | |
Returns a child object, by its name. More... | |
childExists ($name) | |
Checks is a child-node exists. More... | |
createFile ($name, $data=null) | |
Creates a new file in the directory. More... | |
createDirectory ($name) | |
Creates a new subdirectory. More... | |
![]() | |
getLastModified () | |
Returns the last modification time as a unix timestamp. More... | |
delete () | |
Deletes the current node. More... | |
setName ($name) | |
Renames the node. More... | |
delete () | |
Deleted the current node. More... | |
getName () | |
Returns the name of the node. More... | |
setName ($name) | |
Renames the node. More... | |
getLastModified () | |
Returns the last modification time, as a unix timestamp. More... | |
createFile ($name, $data=null) | |
Creates a new file in the directory. More... | |
createDirectory ($name) | |
Creates a new subdirectory. More... | |
getChild ($name) | |
Returns a specific child node, referenced by its name. More... | |
getChildren () | |
Returns an array with all the child nodes. More... | |
childExists ($name) | |
Checks if a child-node with the specified name exists. More... | |
searchPrincipals (array $searchProperties, $test='allof') | |
This method is used to search for principals matching a set of properties. More... | |
findByUri ($uri) | |
Finds a principal by its URI. More... | |
createExtendedCollection ($name, MkCol $mkCol) | |
Creates a new collection. More... | |
![]() | |
getOwner () | |
Returns the owner principal. More... | |
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... | |
Additional Inherited Members | |
![]() | |
$disableListing = false | |
![]() | |
$principalBackend | |
$principalPrefix | |
Principals Collection.
This collection represents a list of users. The users are instances of Sabre\DAVACL\Principal
Definition at line 19 of file PrincipalCollection.php.
Sabre\DAVACL\PrincipalCollection::createExtendedCollection | ( | $name, | |
MkCol | $mkCol | ||
) |
Creates a new collection.
This method will receive a MkCol object with all the information about the new collection that's being created.
The MkCol object contains information about the resourceType of the new collection. If you don't support the specified resourceType, you should throw Exception\InvalidResourceType.
The object also contains a list of WebDAV properties for the new collection.
You should call the handle() method on this object to specify exactly which properties you are storing. This allows the system to figure out exactly which properties you didn't store, which in turn allows other plugins (such as the propertystorage plugin) to handle storing the property for you.
string | $name | |
MkCol | $mkCol |
InvalidResourceType |
Implements Sabre\DAV\IExtendedCollection.
Definition at line 63 of file PrincipalCollection.php.
References $name, and Sabre\DAV\MkCol\hasResourceType().
Sabre\DAVACL\PrincipalCollection::getACL | ( | ) |
Returns a list of ACE's for this node.
Each ACE has the following properties:
Implements Sabre\DAVACL\IACL.
Definition at line 88 of file PrincipalCollection.php.
Sabre\DAVACL\PrincipalCollection::getChildForPrincipal | ( | array | $principal | ) |
This method returns a node for a principal.
The passed array contains principal information, and is guaranteed to at least contain a uri item. Other properties may or may not be supplied by the authentication backend.
array | $principal |
Reimplemented from Sabre\DAVACL\AbstractPrincipalCollection.
Reimplemented in Sabre\CalDAV\Principal\Collection.
Definition at line 33 of file PrincipalCollection.php.