Lines Matching refs:instances
348 $instances = [];
355 $instances[$recurId] = $attendee['PARTSTAT']->getValue();
370 if (isset($instances[$recurId])) {
376 $attendee['PARTSTAT'] = $instances[$recurId];
389 'PARTSTAT' => $instances[$recurId]
393 unset($instances[$recurId]);
403 foreach ($instances as $recurId => $partstat) {
661 $instances = [];
664 $instances[$instance['id']] = [
673 if (isset($instances[$instance['id']])) {
674 $instances[$instance['id']]['newstatus'] = $instance['partstat'];
676 $instances[$instance['id']] = [
690 if (isset($instances['master']) && $instances['master']['newstatus'] !== 'DECLINED') {
694 if (isset($instances[$exDate])) {
695 $instances[$exDate]['newstatus'] = 'DECLINED';
697 $instances[$exDate] = [
709 foreach ($instances as $recurId => $instanceInfo) {
712 $instances[$recurId]['dtstart'] = clone $eventInfo['instances'][$recurId]->DTSTART;
714 $instances[$recurId]['dtstart'] = $recurId;
734 foreach ($instances as $instance) {
848 $instances = [];
945 $instances[$recurId] = $vevent;