Lines Matching refs:eventInfo
196 $eventInfo = $this->parseEventInfo($calendar);
197 if (!$eventInfo['attendees'] && !$oldEventInfo['attendees']) {
202 if (!$eventInfo['organizer'] && !$oldEventInfo['organizer']) {
212 if (!$eventInfo['organizer'] && $oldEventInfo['organizer']) {
213 $eventInfo['organizer'] = $oldEventInfo['organizer'];
214 $eventInfo['organizerName'] = $oldEventInfo['organizerName'];
224 $eventInfo = $oldEventInfo;
226 if (in_array($eventInfo['organizer'], $userHref)) {
228 $eventInfo['attendees'] = [];
231 ++$eventInfo['sequence'];
234 foreach ($eventInfo['attendees'] as $key => $attendee) {
236 …$eventInfo['attendees'][$key]['instances'] = ['master' => ['id' => 'master', 'partstat' => 'DECLIN…
244 if (in_array($eventInfo['organizer'], $userHref)) {
245 return $this->parseEventForOrganizer($baseCalendar, $eventInfo, $oldEventInfo);
250 foreach ($eventInfo['attendees'] as $attendee) {
252 … return $this->parseEventForAttendee($baseCalendar, $eventInfo, $oldEventInfo, $attendee['href']);
456 * @param array $eventInfo
461 …protected function parseEventForOrganizer(VCalendar $calendar, array $eventInfo, array $oldEventIn… argument
474 foreach ($eventInfo['attendees'] as $attendee) {
495 if ($attendee['href'] === $eventInfo['organizer']) {
500 $message->uid = $eventInfo['uid'];
502 $message->sequence = $eventInfo['sequence'];
503 $message->sender = $eventInfo['organizer'];
504 $message->senderName = $eventInfo['organizerName'];
537 $org = $event->add('ORGANIZER', $eventInfo['organizer']);
538 if ($eventInfo['organizerName']) {
539 $org['CN'] = $eventInfo['organizerName'];
562 $oldEventInfo['significantChangeHash'] !== $eventInfo['significantChangeHash'];
565 $currentEvent = clone $eventInfo['instances'][$instanceId];
570 foreach ($eventInfo['instances'] as $instanceId => $vevent) {
624 * @param array $eventInfo
630 …protected function parseEventForAttendee(VCalendar $calendar, array $eventInfo, array $oldEventInf… argument
632 if ($this->scheduleAgentServerRules && 'CLIENT' === $eventInfo['organizerScheduleAgent']) {
638 if ('CANCELLED' === $eventInfo['status']) {
654 foreach ($eventInfo['attendees'][$attendee]['instances'] as $instance) {
672 foreach ($eventInfo['exdate'] as $exDate) {
689 if (isset($eventInfo['instances'][$recurId])) {
690 $instances[$recurId]['dtstart'] = clone $eventInfo['instances'][$recurId]->DTSTART;
697 $message->uid = $eventInfo['uid'];
700 $message->sequence = $eventInfo['sequence'];
702 $message->senderName = $eventInfo['attendees'][$attendee]['name'];
703 $message->recipient = $eventInfo['organizer'];
704 $message->recipientName = $eventInfo['organizerName'];
716 …if ($instance['oldstatus'] == $instance['newstatus'] && 'REPLY' !== $eventInfo['organizerForceSend…
727 if (isset($eventInfo['instances'][$instance['id']])) {
728 $instanceObj = $eventInfo['instances'][$instance['id']];
745 $dt = DateTimeParser::parse($instance['id'], $eventInfo['timezone']);
757 $dt = DateTimeParser::parse($instance['id'], $eventInfo['timezone']);