public function actionViewVirtual($id) { $searchModelForInSubsgroupManipulation = new InSubsgroupManipulationSearch(); $dataProviderForInSubsgroupManipulation = $searchModelForInSubsgroupManipulation->search(Yii::$app->request->queryParams); $searchModelForOutSubsgroupManipulation = new OutSubsgroupManipulationSearch(); $dataProviderForOutSubsgroupManipulation = $searchModelForOutSubsgroupManipulation->search(Yii::$app->request->queryParams); $searchModelForOutSubsgroupVirtual = new OutSubsgroupVirtualSearch(); $dataProviderForOutSubsgroupVirtual = $searchModelForOutSubsgroupVirtual->search(Yii::$app->request->queryParams); $searchModelForOutSubsgroupPrefix = new OutSubsgroupPrefixSearch(); $dataProviderForOutSubsgroupPrefix = $searchModelForOutSubsgroupPrefix->searchSubsgroup(Yii::$app->request->queryParams); return $this->render('view', ['model' => $this->findModel($id), 'searchModelForInSubsgroupManipulation' => $searchModelForInSubsgroupManipulation, 'dataProviderForInSubsgroupManipulation' => $dataProviderForInSubsgroupManipulation, 'searchModelForOutSubsgroupManipulation' => $searchModelForOutSubsgroupManipulation, 'dataProviderForOutSubsgroupManipulation' => $dataProviderForOutSubsgroupManipulation, 'searchModelForOutSubsgroupVirtual' => $searchModelForOutSubsgroupVirtual, 'dataProviderForOutSubsgroupVirtual' => $dataProviderForOutSubsgroupVirtual, 'searchModelForOutSubsgroupPrefix' => $searchModelForOutSubsgroupPrefix, 'dataProviderForOutSubsgroupPrefix' => $dataProviderForOutSubsgroupPrefix]); }
/** * Displays a single Prefix model. * @param integer $id * @return mixed */ public function actionView($id) { // search data for prefix capability $searchModelForPrefixCapability = new PrefixCapabilitySearch(); $dataProviderForPrefixCapability = $searchModelForPrefixCapability->search(Yii::$app->request->queryParams); // search data for out trunk group prefix $searchModelForOutTrunkgroupPrefix = new OutTrunkgroupPrefixSearch(); $dataProviderForOutTrunkgroupPrefix = $searchModelForOutTrunkgroupPrefix->search(Yii::$app->request->queryParams); // search data for out subsgroup prefix $searchModelForOutSubsgroupPrefix = new OutSubsgroupPrefixSearch(); $dataProviderForOutSubsgroupPrefix = $searchModelForOutSubsgroupPrefix->search(Yii::$app->request->queryParams); return $this->render('view', ['model' => $this->findModel($id), 'searchModelForPrefixCapability' => $searchModelForPrefixCapability, 'dataProviderForPrefixCapability' => $dataProviderForPrefixCapability, 'searchModelForOutTrunkgroupPrefix' => $searchModelForOutTrunkgroupPrefix, 'dataProviderForOutTrunkgroupPrefix' => $dataProviderForOutTrunkgroupPrefix, 'searchModelForOutSubsgroupPrefix' => $searchModelForOutSubsgroupPrefix, 'dataProviderForOutSubsgroupPrefix' => $dataProviderForOutSubsgroupPrefix]); }
public function actionIndexSubsgroup() { $searchModel = new OutSubsgroupPrefixSearch(); $dataProvider = $searchModel->searchAdmin(Yii::$app->request->queryParams); return $this->render('index_subsgroup', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]); }