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'];
533 $org = $event->add('ORGANIZER', $eventInfo['organizer']);
534 if ($eventInfo['organizerName']) $org['CN'] = $eventInfo['organizerName'];
564 $oldEventInfo['significantChangeHash']!==$eventInfo['significantChangeHash'];
568 $currentEvent = clone $eventInfo['instances'][$instanceId];
574 foreach($eventInfo['instances'] as $instanceId=>$vevent) {
633 * @param array $eventInfo
638 …protected function parseEventForAttendee(VCalendar $calendar, array $eventInfo, array $oldEventInf… argument
640 if ($this->scheduleAgentServerRules && $eventInfo['organizerScheduleAgent']==='CLIENT') {
646 if ($eventInfo['status']==='CANCELLED') {
664 foreach($eventInfo['attendees'][$attendee]['instances'] as $instance) {
684 foreach($eventInfo['exdate'] as $exDate) {
704 if (isset($eventInfo['instances'][$recurId])) {
705 $instances[$recurId]['dtstart'] = clone $eventInfo['instances'][$recurId]->DTSTART;
713 $message->uid = $eventInfo['uid'];
716 $message->sequence = $eventInfo['sequence'];
718 $message->senderName = $eventInfo['attendees'][$attendee]['name'];
719 $message->recipient = $eventInfo['organizer'];
720 $message->recipientName = $eventInfo['organizerName'];
729 …if ($instance['oldstatus']==$instance['newstatus'] && $eventInfo['organizerForceSend'] !== 'REPLY'…
740 if (isset($eventInfo['instances'][$instance['id']])) {
741 $instanceObj = $eventInfo['instances'][$instance['id']];
758 $dt = DateTimeParser::parse($instance['id'], $eventInfo['timezone']);
770 $dt = DateTimeParser::parse($instance['id'], $eventInfo['timezone']);