public function actionManage() { $model = new Contacto('search'); $model->unsetAttributes(); if (isset($_GET['Contacto'])) { $model->setAttributes($_GET['Contacto']); } $this->render('manage', array('model' => $model)); }