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