Lines Matching refs:instances
341 $instances = [];
348 $instances[$recurId] = $attendee['PARTSTAT']->getValue();
363 if (isset($instances[$recurId])) {
369 $attendee['PARTSTAT'] = $instances[$recurId];
382 'PARTSTAT' => $instances[$recurId],
388 unset($instances[$recurId]);
398 foreach ($instances as $recurId => $partstat) {
646 $instances = [];
648 $instances[$instance['id']] = [
655 if (isset($instances[$instance['id']])) {
656 $instances[$instance['id']]['newstatus'] = $instance['partstat'];
658 $instances[$instance['id']] = [
671 if (isset($instances['master']) && 'DECLINED' !== $instances['master']['newstatus']) {
674 if (isset($instances[$exDate])) {
675 $instances[$exDate]['newstatus'] = 'DECLINED';
677 $instances[$exDate] = [
688 foreach ($instances as $recurId => $instanceInfo) {
690 $instances[$recurId]['dtstart'] = clone $eventInfo['instances'][$recurId]->DTSTART;
692 $instances[$recurId]['dtstart'] = $recurId;
715 foreach ($instances as $instance) {
828 $instances = [];
938 $instances[$recurId] = $vevent;