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