/** * Lists all Company models. * @return mixed */ public function actionIndexAll() { $searchModel = new CompanySearch(); $params = Yii::$app->request->queryParams; $dataProvider = $searchModel->search($params); return $this->render('index', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]); }