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