/**
  * Lists all models.
  */
 public function actionIndex($hidinventario)
 {
     $model = new VwObservaciones('search');
     $model->unsetAttributes();
     // clear any default values
     $this->render('index', array('model' => $model));
 }
Esempio n. 2
0
 /**
  * Manages all models.
  */
 public function actionAdmin()
 {
     $model = new VwObservaciones('search');
     $model->unsetAttributes();
     // clear any default values
     if (isset($_GET['VwObservaciones'])) {
         $model->attributes = $_GET['VwObservaciones'];
     }
     $this->render('admin', array('model' => $model));
 }