public function actionFortrmatosmotr() { $searchModel = new TrMatSearch(); $dataProvider = $searchModel->searchfortrmatosmotr(Yii::$app->request->queryParams); return $this->render('index', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]); }