public function actionAdmin() { $model = new PeLampiran('search'); $model->unsetAttributes(); if (isset($_GET['PeLampiran'])) { $model->attributes = $_GET['PeLampiran']; } $this->render('admin', array('model' => $model)); }