/** * Lists all Scheduledetail models. * @return mixed */ public function actionIndex() { $searchModel = new ScheduledetailSearch(); $dataProvider = $searchModel->search(Yii::$app->request->queryParams); return $this->render('index', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider, 'nmGroup' => $this->aryGroupID()]); }