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) {
649 $instances = array();
652 $instances[$instance['id']] = array(
661 if (isset($instances[$instance['id']])) {
662 $instances[$instance['id']]['newstatus'] = $instance['partstat'];
664 $instances[$instance['id']] = array(
678 if (isset($instances['master']) && $instances['master']['newstatus'] !== 'DECLINED') {
682 if (isset($instances[$exDate])) {
683 $instances[$exDate]['newstatus'] = 'DECLINED';
685 $instances[$exDate] = array(
697 foreach($instances as $recurId=>$instanceInfo) {
700 $instances[$recurId]['dtstart'] = clone $eventInfo['instances'][$recurId]->DTSTART;
702 $instances[$recurId]['dtstart'] = $recurId;
722 foreach($instances as $instance) {
823 $instances = array();
916 $instances[$recurId] = $vevent;