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