Lines Matching refs:instances
343 $instances = array();
350 $instances[$recurId] = $attendee['PARTSTAT']->getValue();
365 if (isset($instances[$recurId])) {
371 $attendee['PARTSTAT'] = $instances[$recurId];
384 'PARTSTAT' => $instances[$recurId]
388 unset($instances[$recurId]);
398 foreach($instances as $recurId=>$partstat) {
654 $instances = array();
657 $instances[$instance['id']] = array(
666 if (isset($instances[$instance['id']])) {
667 $instances[$instance['id']]['newstatus'] = $instance['partstat'];
669 $instances[$instance['id']] = array(
683 if (isset($instances['master']) && $instances['master']['newstatus'] !== 'DECLINED') {
687 if (isset($instances[$exDate])) {
688 $instances[$exDate]['newstatus'] = 'DECLINED';
690 $instances[$exDate] = array(
702 foreach($instances as $recurId=>$instanceInfo) {
705 $instances[$recurId]['dtstart'] = clone $eventInfo['instances'][$recurId]->DTSTART;
707 $instances[$recurId]['dtstart'] = $recurId;
727 foreach($instances as $instance) {
840 $instances = array();
937 $instances[$recurId] = $vevent;