/** * Manages all models. */ public function actionAdmin() { $model = new FeedbackSubject('search'); $model->unsetAttributes(); // clear any default values if (isset($_GET['FeedbackSubject'])) { $model->attributes = $_GET['FeedbackSubject']; } $this->render('admin', array('model' => $model)); }