52 if (!isset($objectData[
'uri'])) {
53 throw new \InvalidArgumentException(
'The objectData argument must contain an \'uri\' property');
69 if (!isset($this->objectData[
'calendardata'])) {
70 $this->objectData = $this->caldavBackend->getSchedulingObject($this->objectData[
'principaluri'], $this->objectData[
'uri']);
72 return $this->objectData[
'calendardata'];
82 function put($calendarData) {
95 $this->caldavBackend->deleteSchedulingObject($this->objectData[
'principaluri'], $this->objectData[
'uri']);
108 return $this->objectData[
'principaluri'];
130 if (isset($this->objectData[
'acl'])) {
131 return $this->objectData[
'acl'];
137 'privilege' =>
'{DAV:}all',
138 'principal' =>
'{DAV:}owner',
142 'privilege' =>
'{DAV:}all',
143 'principal' => $this->objectData[
'principaluri'] .
'/calendar-proxy-write',
147 'privilege' =>
'{DAV:}read',
148 'principal' => $this->objectData[
'principaluri'] .
'/calendar-proxy-read',
__construct(Backend\SchedulingSupport $caldavBackend, array $objectData)
Constructor.
put($calendarData)
Updates the ICalendar-formatted object.
The CalendarObject represents a single VEVENT or VTODO within a Calendar.
The SchedulingObject represents a scheduling object in the Inbox collection.
getOwner()
Returns the owner principal.
Implementing this interface adds CalDAV Scheduling support to your caldav server, as defined in rfc66...
getACL()
Returns a list of ACE's for this node.
The SchedulingObject represents a scheduling object in the Inbox collection.