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