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