ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
CalendarRoot.php
Go to the documentation of this file.
1<?php
2
3namespace Sabre\CalDAV;
4
6
21
27 protected $caldavBackend;
28
44
45 parent::__construct($principalBackend, $principalPrefix);
46 $this->caldavBackend = $caldavBackend;
47
48 }
49
58 function getName() {
59
61
62 }
63
74 function getChildForPrincipal(array $principal) {
75
76 return new CalendarHome($this->caldavBackend, $principal);
77
78 }
79
80}
An exception for terminatinating execution or to throw for unit testing.
The CalendarHome represents a node that is usually in a users' calendar-homeset.
Calendars collection.
__construct(PrincipalBackend\BackendInterface $principalBackend, Backend\BackendInterface $caldavBackend, $principalPrefix='principals')
Constructor.
getName()
Returns the nodename.
getChildForPrincipal(array $principal)
This method returns a node for a principal.
const CALENDAR_ROOT
The hardcoded root for calendar objects.
Definition: Plugin.php:44
Implement this interface to create your own principal backends.