Lines Matching refs:calendar
162 * @param VCalendar|string $calendar
167 public function parseEvent($calendar = null, $userHref, $oldCalendar = null) { argument
189 if (!is_null($calendar)) {
191 if (is_string($calendar)) {
192 $calendar = Reader::read($calendar);
194 if (!isset($calendar->VEVENT)) {
198 $eventInfo = $this->parseEventInfo($calendar);
209 $baseCalendar = $calendar;
457 * @param VCalendar $calendar
462 …protected function parseEventForOrganizer(VCalendar $calendar, array $eventInfo, array $oldEventIn… argument
524 if (isset($calendar->VEVENT->SUMMARY)) {
525 $event->add('SUMMARY', $calendar->VEVENT->SUMMARY->getValue());
527 $event->add(clone $calendar->VEVENT->DTSTART);
528 if (isset($calendar->VEVENT->DTEND)) {
529 $event->add(clone $calendar->VEVENT->DTEND);
530 } elseif (isset($calendar->VEVENT->DURATION)) {
531 $event->add(clone $calendar->VEVENT->DURATION);
549 foreach($calendar->select('VTIMEZONE') as $timezone) {
632 * @param VCalendar $calendar
638 …protected function parseEventForAttendee(VCalendar $calendar, array $eventInfo, array $oldEventInf… argument
738 $summary = isset($calendar->VEVENT->SUMMARY)?$calendar->VEVENT->SUMMARY->getValue():'';
820 * @param VCalendar $calendar
823 protected function parseEventInfo(VCalendar $calendar = null) { argument
843 foreach($calendar->VEVENT as $vevent) {