Example #1
0
 /**
  * Lists all MrpBom models.
  * @return mixed
  */
 public function actionIndex()
 {
     $searchModel = new MrpBomSearch();
     $dataProvider = $searchModel->searchPhantom(Yii::$app->request->queryParams);
     return $this->render('index', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]);
 }