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