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