public function actionVerLocalesCliente() { $model = new Local('search'); $model->unsetAttributes(); $dataProvider = $model->cargarLocalesCliente(); $this->render('verLocalesCliente', array('dataProvider' => $dataProvider, 'model' => $model)); }