actionView() public method

View the event specified by $id.
public actionView ( $id )
$id
Ejemplo n.º 1
0
 public function actionView($id)
 {
     $this->extraViewProperties['print'] = Yii::app()->session['printConsent'];
     unset(Yii::app()->session['printConsent']);
     parent::actionView($id);
 }
Ejemplo n.º 2
0
 /**
  * @param $id
  */
 public function actionView($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->setFlashMessage($id);
     parent::actionView($id);
 }
Ejemplo n.º 3
0
 public function actionView($id)
 {
     parent::actionView($id);
 }
Ejemplo n.º 4
0
 public function actionView($id)
 {
     $service = new OphCoTherapyapplication_Processor($this->event);
     $status = $service->getApplicationStatus();
     $this->title = $this->event_type->name . ' (' . $status . ')';
     return parent::actionView($id);
 }