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