/** * Lists all DctUiTypes models. * @return mixed */ public function actionIndex() { $dataProvider = new ActiveDataProvider(['query' => DctUiTypes::find()]); return $this->render('index', ['dataProvider' => $dataProvider]); }