Esempio n. 1
0
 public function actionVerLocalesCliente()
 {
     $model = new Local('search');
     $model->unsetAttributes();
     $dataProvider = $model->cargarLocalesCliente();
     $this->render('verLocalesCliente', array('dataProvider' => $dataProvider, 'model' => $model));
 }
Esempio n. 2
0
 public function actionAdmin()
 {
     $model = new Local('search');
     $model->unsetAttributes();
     if (isset($_GET['Local'])) {
         $model->setAttributes($_GET['Local']);
     }
     $this->render('admin', array('model' => $model));
 }