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