/** * Lists all models. */ public function actionIndex() { $this->title = 'Daftar Satker'; $model = new Satker('search'); $model->unsetAttributes(); // clear any default values if (isset($_GET['Satker'])) { $model->attributes = $_GET['Satker']; } $this->render('index', array('model' => $model)); }