Пример #1
0
 /**
  * Manages all models.
  */
 public function actionAdmin()
 {
     $this->layout = "column2";
     $model = new MaestroGrupos('search');
     $model->unsetAttributes();
     // clear any default values
     if (isset($_GET['MaestroGrupos'])) {
         $model->attributes = $_GET['MaestroGrupos'];
     }
     $this->render('admin', array('model' => $model));
 }