public function actionEducation($id)
    {
        Url::remember('', 'actions-redirect');
        $model = $this->findModel($id);
        $dataProvider = new ActiveDataProvider([
            'query' => $model->getEducations(),
        ]);
        return $this->render('_education', [
            'model' => $model,
            'dataProvider' => $dataProvider,
        ]);
    }
public function actionEducation($id)
    {
        Url::remember('', 'actions-redirect');
        $model = $this->findModel($id);
        $dataProvider = new ActiveDataProvider([
            'query' => $model->getEducations(),
        ]);
        return $this->render('_education', [
            'model' => $model,
            'dataProvider' => $dataProvider,
        ]);
    }
public function actionEducation ( $ id ) { Url :: remember ( '' , 'actions-redirect' ) ; $ model = $ this -> findModel ( $ id ) ; $ dataProvider = new ActiveDataProvider ( [ 'query' => $ model -> getEducations ( ) , ] ) ; return $ this -> render ( '_education' , [ 'model' => $ model , 'dataProvider' => $ dataProvider , ] ) ; }
Shows education about user.

@param int $id

@return string
Shows education about user .