/**
  * Displays a single OutTrunkgroup model.
  * @param integer $id
  * @return mixed
  */
 public function actionView($id)
 {
     $searchModelForOutTrunkgroupManipulation = new OutTrunkgroupManipulationSearch();
     $dataProviderForOutTrunkgroupManipulation = $searchModelForOutTrunkgroupManipulation->search(Yii::$app->request->queryParams);
     $searchModelForOutTrunkgroupVirtual = new OutTrunkgroupVirtualSearch();
     $dataProviderForOutTrunkgroupVirtual = $searchModelForOutTrunkgroupVirtual->search(Yii::$app->request->queryParams);
     $searchModelForOutTrunkgroupPrefix = new OutTrunkgroupPrefixSearch();
     $dataProviderForOutTrunkgroupPrefix = $searchModelForOutTrunkgroupPrefix->searchForOutTrunkgroupPrefix(Yii::$app->request->queryParams);
     return $this->render('view', ['model' => $this->findModel($id), 'searchModelForOutTrunkgroupManipulation' => $searchModelForOutTrunkgroupManipulation, 'dataProviderForOutTrunkgroupManipulation' => $dataProviderForOutTrunkgroupManipulation, 'searchModelForOutTrunkgroupVirtual' => $searchModelForOutTrunkgroupVirtual, 'dataProviderForOutTrunkgroupVirtual' => $dataProviderForOutTrunkgroupVirtual, 'searchModelForOutTrunkgroupPrefix' => $searchModelForOutTrunkgroupPrefix, 'dataProviderForOutTrunkgroupPrefix' => $dataProviderForOutTrunkgroupPrefix]);
 }
Exemplo n.º 2
0
 /**
  * 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]);
 }
Exemplo n.º 3
0
 /**
  * Displays a single Virtual model.
  * @param integer $id
  * @return mixed
  */
 public function actionView($id)
 {
     $searchModelPrefix = new PrefixSearch();
     $dataProviderPrefix = $searchModelPrefix->searchVirtual(Yii::$app->request->queryParams);
     $searchModelInTrunkgroup = new InTrunkgroupSearch();
     $dataProviderInTrunkgroup = $searchModelInTrunkgroup->searchVirtual(Yii::$app->request->queryParams);
     $searchModelOutTrunkgroupVirtual = new OutTrunkgroupVirtualSearch();
     $dataProviderOutTrunkgroupVirtual = $searchModelOutTrunkgroupVirtual->searchVirtual(Yii::$app->request->queryParams);
     $searchModelOutTrunkgroupPrefix = new OutTrunkgroupPrefixSearch();
     $dataProviderOutTrunkgroupPrefix = $searchModelOutTrunkgroupPrefix->searchVirtual(Yii::$app->request->queryParams);
     $searchModelSubsgroup = new SubsgroupSearch();
     $dataProviderSubsgroup = $searchModelSubsgroup->searchVirtual(Yii::$app->request->queryParams);
     return $this->render('view', ['model' => $this->findModel($id), 'searchModelPrefix' => $searchModelPrefix, 'dataProviderPrefix' => $dataProviderPrefix, 'searchModelInTrunkgroup' => $searchModelInTrunkgroup, 'dataProviderInTrunkgroup' => $dataProviderInTrunkgroup, 'searchModelOutTrunkgroupVirtual' => $searchModelOutTrunkgroupVirtual, 'dataProviderOutTrunkgroupVirtual' => $dataProviderOutTrunkgroupVirtual, 'searchModelOutTrunkgroupPrefix' => $searchModelOutTrunkgroupPrefix, 'dataProviderOutTrunkgroupPrefix' => $dataProviderOutTrunkgroupPrefix, 'searchModelSubsgroup' => $searchModelSubsgroup, 'dataProviderSubsgroup' => $dataProviderSubsgroup]);
 }
 /**
  * Lists all OutTrunkgroupPrefix models.
  * @return mixed
  */
 public function actionIndexOutTrunkgroupPrefix()
 {
     $searchModel = new OutTrunkgroupPrefixSearch();
     $dataProvider = $searchModel->searchAdmin(Yii::$app->request->queryParams);
     return $this->render('index_out_trunkgroup', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]);
 }