/** * Displays a single InTrunkgroup model. * @param integer $id * @return mixed */ public function actionView($id) { // search data untuk intrunkgroup manipulation $searchModel = new InTrunkgroupManipulationSearch(); $dataProvider = $searchModel->search(Yii::$app->request->queryParams); return $this->render('view', ['model' => $this->findModel($id), 'searchModel' => $searchModel, 'dataProvider' => $dataProvider]); }
/** * Lists all InTrunkgroupManipulation models. * @return mixed */ public function actionIndex() { $searchModel = new InTrunkgroupManipulationSearch(); $dataProvider = $searchModel->search(Yii::$app->request->queryParams); return $this->render('index', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]); }