Lines Matching refs:calendar
163 * @param VCalendar|string $calendar
169 function parseEvent($calendar = null, $userHref, $oldCalendar = null) { argument
191 if (!is_null($calendar)) {
193 if (is_string($calendar)) {
194 $calendar = Reader::read($calendar);
196 if (!isset($calendar->VEVENT)) {
200 $eventInfo = $this->parseEventInfo($calendar);
211 $baseCalendar = $calendar;
462 * @param VCalendar $calendar
468 …protected function parseEventForOrganizer(VCalendar $calendar, array $eventInfo, array $oldEventIn… argument
530 if (isset($calendar->VEVENT->SUMMARY)) {
531 $event->add('SUMMARY', $calendar->VEVENT->SUMMARY->getValue());
533 $event->add(clone $calendar->VEVENT->DTSTART);
534 if (isset($calendar->VEVENT->DTEND)) {
535 $event->add(clone $calendar->VEVENT->DTEND);
536 } elseif (isset($calendar->VEVENT->DURATION)) {
537 $event->add(clone $calendar->VEVENT->DURATION);
555 foreach ($calendar->select('VTIMEZONE') as $timezone) {
638 * @param VCalendar $calendar
645 …protected function parseEventForAttendee(VCalendar $calendar, array $eventInfo, array $oldEventInf… argument
745 … $summary = isset($calendar->VEVENT->SUMMARY) ? $calendar->VEVENT->SUMMARY->getValue() : '';
827 * @param VCalendar $calendar
831 protected function parseEventInfo(VCalendar $calendar = null) { argument
851 foreach ($calendar->VEVENT as $vevent) {