Exemplo n.º 1
0
 /**
  * Manages all models.
  */
 public function actionAdmin()
 {
     $model = new Skill('search');
     $model->unsetAttributes();
     // clear any default values
     if (isset($_GET['Skill'])) {
         $model->attributes = $_GET['Skill'];
     }
     $this->render('admin', array('model' => $model));
 }