Lines Matching refs:eventInfo

198             $eventInfo = $this->parseEventInfo($calendar);
199 if (!$eventInfo['attendees'] && !$oldEventInfo['attendees']) {
204 if (!$eventInfo['organizer'] && !$oldEventInfo['organizer']) {
214 if (!$eventInfo['organizer'] && $oldEventInfo['organizer']) {
215 $eventInfo['organizer'] = $oldEventInfo['organizer'];
216 $eventInfo['organizerName'] = $oldEventInfo['organizerName'];
227 $eventInfo = $oldEventInfo;
229 if (in_array($eventInfo['organizer'], $userHref)) {
231 $eventInfo['attendees'] = array();
234 $eventInfo['sequence']++;
237 foreach($eventInfo['attendees'] as $key=>$attendee) {
239 $eventInfo['attendees'][$key]['instances'] = array('master' =>
249 if (in_array($eventInfo['organizer'], $userHref)) {
250 return $this->parseEventForOrganizer($baseCalendar, $eventInfo, $oldEventInfo);
255 foreach($eventInfo['attendees'] as $attendee) {
257 … return $this->parseEventForAttendee($baseCalendar, $eventInfo, $oldEventInfo, $attendee['href']);
458 * @param array $eventInfo
462 …protected function parseEventForOrganizer(VCalendar $calendar, array $eventInfo, array $oldEventIn… argument
475 foreach($eventInfo['attendees'] as $attendee) {
497 if ($attendee['href']===$eventInfo['organizer']) {
502 $message->uid = $eventInfo['uid'];
504 $message->sequence = $eventInfo['sequence'];
505 $message->sender = $eventInfo['organizer'];
506 $message->senderName = $eventInfo['organizerName'];
528 $org = $event->add('ORGANIZER', $eventInfo['organizer']);
529 if ($eventInfo['organizerName']) $org['CN'] = $eventInfo['organizerName'];
559 $oldEventInfo['significantChangeHash']!==$eventInfo['significantChangeHash'];
563 $currentEvent = clone $eventInfo['instances'][$instanceId];
569 foreach($eventInfo['instances'] as $instanceId=>$vevent) {
628 * @param array $eventInfo
633 …protected function parseEventForAttendee(VCalendar $calendar, array $eventInfo, array $oldEventInf… argument
635 if ($this->scheduleAgentServerRules && $eventInfo['organizerScheduleAgent']==='CLIENT') {
641 if ($eventInfo['status']==='CANCELLED') {
659 foreach($eventInfo['attendees'][$attendee]['instances'] as $instance) {
679 foreach($eventInfo['exdate'] as $exDate) {
699 if (isset($eventInfo['instances'][$recurId])) {
700 $instances[$recurId]['dtstart'] = clone $eventInfo['instances'][$recurId]->DTSTART;
708 $message->uid = $eventInfo['uid'];
711 $message->sequence = $eventInfo['sequence'];
713 $message->senderName = $eventInfo['attendees'][$attendee]['name'];
714 $message->recipient = $eventInfo['organizer'];
715 $message->recipientName = $eventInfo['organizerName'];
724 …if ($instance['oldstatus']==$instance['newstatus'] && $eventInfo['organizerForceSend'] !== 'REPLY'…
735 if (isset($eventInfo['instances'][$instance['id']])) {
736 $instanceObj = $eventInfo['instances'][$instance['id']];
748 $dt = DateTimeParser::parse($instance['id'], $eventInfo['timezone']);
760 $dt = DateTimeParser::parse($instance['id'], $eventInfo['timezone']);