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