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