ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
AddressBook rootnode. More...
Public Member Functions | |
__construct (DAVACL\PrincipalBackend\BackendInterface $principalBackend, Backend\BackendInterface $carddavBackend, $principalPrefix='principals') | |
Constructor. More... | |
getName () | |
Returns the name of the node. More... | |
getChildForPrincipal (array $principal) | |
This method returns a node for a principal. 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... | |
Protected Attributes | |
$principalBackend | |
$carddavBackend | |
Protected Attributes inherited from Sabre\DAVACL\AbstractPrincipalCollection | |
$principalBackend | |
$principalPrefix | |
Additional Inherited Members | |
Data Fields inherited from Sabre\DAVACL\AbstractPrincipalCollection | |
$disableListing = false | |
AddressBook rootnode.
This object lists a collection of users, which can contain addressbooks.
Definition at line 16 of file AddressBookRoot.php.
Sabre\CardDAV\AddressBookRoot::__construct | ( | DAVACL\PrincipalBackend\BackendInterface | $principalBackend, |
Backend\BackendInterface | $carddavBackend, | ||
$principalPrefix = 'principals' |
|||
) |
Constructor.
This constructor needs both a principal and a carddav backend.
By default this class will show a list of addressbook collections for principals in the 'principals' collection. If your main principals are actually located in a different path, use the $principalPrefix argument to override this.
DAVACL\PrincipalBackend\BackendInterface | $principalBackend | |
Backend\BackendInterface | $carddavBackend | |
string | $principalPrefix |
Definition at line 46 of file AddressBookRoot.php.
References Sabre\CardDAV\AddressBookRoot\$carddavBackend, and Sabre\DAVACL\AbstractPrincipalCollection\$principalPrefix.
Sabre\CardDAV\AddressBookRoot::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 |
Definition at line 74 of file AddressBookRoot.php.
Sabre\CardDAV\AddressBookRoot::getName | ( | ) |
Returns the name of the node.
Implements Sabre\DAV\INode.
Definition at line 58 of file AddressBookRoot.php.
References Sabre\CardDAV\Plugin\ADDRESSBOOK_ROOT.
|
protected |
Definition at line 30 of file AddressBookRoot.php.
Referenced by Sabre\CardDAV\AddressBookRoot\__construct().
|
protected |
Definition at line 23 of file AddressBookRoot.php.