ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
AddressBookRoot.php
Go to the documentation of this file.
1<?php
2
3namespace Sabre\CardDAV;
4
6
17
24
30 protected $carddavBackend;
31
46 function __construct(DAVACL\PrincipalBackend\BackendInterface $principalBackend, Backend\BackendInterface $carddavBackend, $principalPrefix = 'principals') {
47
48 $this->carddavBackend = $carddavBackend;
49 parent::__construct($principalBackend, $principalPrefix);
50
51 }
52
58 function getName() {
59
61
62 }
63
74 function getChildForPrincipal(array $principal) {
75
76 return new AddressBookHome($this->carddavBackend, $principal['uri']);
77
78 }
79
80}
An exception for terminatinating execution or to throw for unit testing.
AddressBook Home class.
getChildForPrincipal(array $principal)
This method returns a node for a principal.
getName()
Returns the name of the node.
__construct(DAVACL\PrincipalBackend\BackendInterface $principalBackend, Backend\BackendInterface $carddavBackend, $principalPrefix='principals')
Constructor.
const ADDRESSBOOK_ROOT
Url to the addressbooks.
Definition: Plugin.php:28