public function actionIndex() { $model = new MenuModel('search'); $this->pageName = Yii::t('app', 'ENGINE_MENU'); $this->breadcrumbs = array(Yii::t('app', 'SYSTEM') => array('admin/index'), $this->pageName); $model->unsetAttributes(); // clear any default values if (isset($_GET['MenuModel'])) { $model->attributes = $_GET['MenuModel']; } $this->render('index', array('model' => $model)); }