Lines Matching refs:calendar
147 … foreach ($this->caldavBackend->getCalendarsForUser($this->principalInfo['uri']) as $calendar) {
148 if ($calendar['uri'] === $name) {
150 if (isset($calendar['{http://calendarserver.org/ns/}shared-url'])) {
151 return new SharedCalendar($this->caldavBackend, $calendar);
153 return new ShareableCalendar($this->caldavBackend, $calendar);
156 return new Calendar($this->caldavBackend, $calendar);
199 foreach ($calendars as $calendar) {
201 if (isset($calendar['{http://calendarserver.org/ns/}shared-url'])) {
202 $objs[] = new SharedCalendar($this->caldavBackend, $calendar);
204 $objs[] = new ShareableCalendar($this->caldavBackend, $calendar);
207 $objs[] = new Calendar($this->caldavBackend, $calendar);