/**
  * 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]);
 }
 /**
  * Lists all PrefixCapability models.
  * @return mixed
  */
 public function actionIndex()
 {
     $searchModel = new PrefixCapabilitySearch();
     $dataProvider = $searchModel->searchAdmin(Yii::$app->request->queryParams);
     return $this->render('index', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]);
 }