Пример #1
0
 /**
  * Invoke regeneration of all graphs
  */
 public function actionGrefresh()
 {
     Graphs::model()->clearAll();
     $this->redirect('Default:');
 }
Пример #2
0
 public function SubmittedPatientAdd(AppForm $form)
 {
     Storage::getInstance()->createPatient($form->values);
     Graphs::model()->clearAll();
     $this->flashMessage('Novy pacient bol úspešne pridaný', 'info');
     $this->redirect('default');
     // redirect to listing
 }