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