public function actionUpdate($id) { parent::actionUpdate($id); }
/** * @param $id */ public function actionUpdate($id) { if ($this->event != null && $this->event->id > 0) { $this->iolRefValues = Element_OphInBiometry_IolRefValues::Model()->findAllByAttributes(array('event_id' => $this->event->id)); $this->selectionValues = Element_OphInBiometry_Selection::Model()->findAllByAttributes(array('event_id' => $this->event->id)); $this->calculationValues = Element_OphInBiometry_Calculation::Model()->findAllByAttributes(array('event_id' => $this->event->id)); } else { $this->iolRefValues = array(); } $this->setFlashMessage($id); parent::actionUpdate($id); }