ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Sabre\CalDAV\Principal\Collection Class Reference

Principal collection. More...

+ Inheritance diagram for Sabre\CalDAV\Principal\Collection:
+ Collaboration diagram for Sabre\CalDAV\Principal\Collection:

Public Member Functions

 getChildForPrincipal (array $principalInfo)
 Returns a child object based on principal information. More...
 
- Public Member Functions inherited from Sabre\DAVACL\PrincipalCollection
 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...
 
- Public Member Functions inherited from Sabre\DAVACL\AbstractPrincipalCollection
 __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...
 
- Public Member Functions inherited from Sabre\DAV\Collection
 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...
 
- 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\DAVACL\IACL
 getOwner ()
 Returns the owner principal. More...
 
 getGroup ()
 Returns a group principal. More...
 
 setACL (array $acl)
 Updates the ACL. More...
 
 getSupportedPrivilegeSet ()
 Returns the list of supported privileges for this node. More...
 

Additional Inherited Members

- Data Fields inherited from Sabre\DAVACL\AbstractPrincipalCollection
 $disableListing = false
 
- Protected Attributes inherited from Sabre\DAVACL\AbstractPrincipalCollection
 $principalBackend
 
 $principalPrefix
 

Detailed Description

Principal collection.

This is an alternative collection to the standard ACL principal collection. This collection adds support for the calendar-proxy-read and calendar-proxy-write sub-principals, as defined by the caldav-proxy specification.

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

Definition at line 19 of file Collection.php.

Member Function Documentation

◆ getChildForPrincipal()

Sabre\CalDAV\Principal\Collection::getChildForPrincipal ( array  $principalInfo)

Returns a child object based on principal information.

Parameters
array$principalInfo
Returns
User

Definition at line 27 of file Collection.php.

27  {
28 
29  return new User($this->principalBackend, $principalInfo);
30 
31  }

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