Exemplo n.º 1
0
 public function actionCreateMetric()
 {
     $model = new Metric('create');
     $this->performAjaxValidation($model);
     $form = new Form('regions.metric', $model);
     if ($form->submitted() && $model->appendTo(Metric::getRoot())) {
         //??? o_O
     }
     $this->redirect('/regions/index/index');
 }