Lines Matching refs:eventInfo
200 $eventInfo = $this->parseEventInfo($calendar);
201 if (!$eventInfo['attendees'] && !$oldEventInfo['attendees']) {
206 if (!$eventInfo['organizer'] && !$oldEventInfo['organizer']) {
216 if (!$eventInfo['organizer'] && $oldEventInfo['organizer']) {
217 $eventInfo['organizer'] = $oldEventInfo['organizer'];
218 $eventInfo['organizerName'] = $oldEventInfo['organizerName'];
229 $eventInfo = $oldEventInfo;
231 if (in_array($eventInfo['organizer'], $userHref)) {
233 $eventInfo['attendees'] = [];
236 $eventInfo['sequence']++;
239 foreach ($eventInfo['attendees'] as $key => $attendee) {
241 $eventInfo['attendees'][$key]['instances'] = ['master' =>
251 if (in_array($eventInfo['organizer'], $userHref)) {
252 return $this->parseEventForOrganizer($baseCalendar, $eventInfo, $oldEventInfo);
257 foreach ($eventInfo['attendees'] as $attendee) {
259 … return $this->parseEventForAttendee($baseCalendar, $eventInfo, $oldEventInfo, $attendee['href']);
463 * @param array $eventInfo
468 …protected function parseEventForOrganizer(VCalendar $calendar, array $eventInfo, array $oldEventIn… argument
481 foreach ($eventInfo['attendees'] as $attendee) {
503 if ($attendee['href'] === $eventInfo['organizer']) {
508 $message->uid = $eventInfo['uid'];
510 $message->sequence = $eventInfo['sequence'];
511 $message->sender = $eventInfo['organizer'];
512 $message->senderName = $eventInfo['organizerName'];
539 $org = $event->add('ORGANIZER', $eventInfo['organizer']);
540 if ($eventInfo['organizerName']) $org['CN'] = $eventInfo['organizerName'];
570 $oldEventInfo['significantChangeHash'] !== $eventInfo['significantChangeHash'];
574 $currentEvent = clone $eventInfo['instances'][$instanceId];
580 foreach ($eventInfo['instances'] as $instanceId => $vevent) {
639 * @param array $eventInfo
645 …protected function parseEventForAttendee(VCalendar $calendar, array $eventInfo, array $oldEventInf… argument
647 if ($this->scheduleAgentServerRules && $eventInfo['organizerScheduleAgent'] === 'CLIENT') {
653 if ($eventInfo['status'] === 'CANCELLED') {
671 foreach ($eventInfo['attendees'][$attendee]['instances'] as $instance) {
691 foreach ($eventInfo['exdate'] as $exDate) {
711 if (isset($eventInfo['instances'][$recurId])) {
712 $instances[$recurId]['dtstart'] = clone $eventInfo['instances'][$recurId]->DTSTART;
720 $message->uid = $eventInfo['uid'];
723 $message->sequence = $eventInfo['sequence'];
725 $message->senderName = $eventInfo['attendees'][$attendee]['name'];
726 $message->recipient = $eventInfo['organizer'];
727 $message->recipientName = $eventInfo['organizerName'];
736 …if ($instance['oldstatus'] == $instance['newstatus'] && $eventInfo['organizerForceSend'] !== 'REPL…
747 if (isset($eventInfo['instances'][$instance['id']])) {
748 $instanceObj = $eventInfo['instances'][$instance['id']];
765 $dt = DateTimeParser::parse($instance['id'], $eventInfo['timezone']);
777 $dt = DateTimeParser::parse($instance['id'], $eventInfo['timezone']);