Lines Matching refs:calendar
160 * @param VCalendar|string $calendar
166 public function parseEvent($calendar = null, $userHref, $oldCalendar = null) argument
188 if (!is_null($calendar)) {
189 if (is_string($calendar)) {
190 $calendar = Reader::read($calendar);
192 if (!isset($calendar->VEVENT)) {
196 $eventInfo = $this->parseEventInfo($calendar);
207 $baseCalendar = $calendar;
455 * @param VCalendar $calendar
461 …protected function parseEventForOrganizer(VCalendar $calendar, array $eventInfo, array $oldEventIn… argument
511 foreach ($calendar->select('VTIMEZONE') as $timezone) {
528 if (isset($calendar->VEVENT->SUMMARY)) {
529 $event->add('SUMMARY', $calendar->VEVENT->SUMMARY->getValue());
531 $event->add(clone $calendar->VEVENT->DTSTART);
532 if (isset($calendar->VEVENT->DTEND)) {
533 $event->add(clone $calendar->VEVENT->DTEND);
534 } elseif (isset($calendar->VEVENT->DURATION)) {
535 $event->add(clone $calendar->VEVENT->DURATION);
623 * @param VCalendar $calendar
630 …protected function parseEventForAttendee(VCalendar $calendar, array $eventInfo, array $oldEventInf… argument
709 foreach ($calendar->select('VTIMEZONE') as $timezone) {
725 … $summary = isset($calendar->VEVENT->SUMMARY) ? $calendar->VEVENT->SUMMARY->getValue() : '';
807 * @param VCalendar $calendar
811 protected function parseEventInfo(VCalendar $calendar = null) argument
831 foreach ($calendar->VEVENT as $vevent) {