public function actionUser() { $model = new Controllers('search'); $model->unsetAttributes(); // clear any default values if (isset($_GET['Controllers'])) { $model->attributes = $_GET['Controllers']; } $this->render('user', array('model' => $model, 'actions' => $this->listActionsCanAccess)); }