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