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