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