Ejemplo n.º 1
0
 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]);
 }
 /**
  * Lists all InSubsgroupManipulation models.
  * @return mixed
  */
 public function actionIndex()
 {
     $searchModel = new InSubsgroupManipulationSearch();
     $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
     return $this->render('index', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]);
 }