controllers/DefaultController.php
public function actionFetch($id)
    {
        $model = $this->findModel($id);
        $model->setScenario('update');
        Yii::$app->response->format = Response::FORMAT_HTML;
        return $this->renderAjax('@vendor/frenzelgmbh/cm-address/views/widgets/views/_form_update', ['model' => $model]);
    }
public function actionFetch($id)
    {
        $model = $this->findModel($id);
        $model->setScenario('update');
        Yii::$app->response->format = Response::FORMAT_HTML;
        return $this->renderAjax('@vendor/frenzelgmbh/cm-address/views/widgets/views/_form_update', ['model' => $model]);
    }
public function actionFetch ( $ id ) { $ model = $ this -> findModel ( $ id ) ; $ model -> setScenario ( 'update' ) ; Yii :: $ app -> response -> format = Response :: FORMAT_HTML ; return $ this -> renderAjax ( '@vendor/frenzelgmbh/cm-address/views/widgets/views/_form_update' , [ 'model' => $ model ] ) ; }
fetch Communication.

@param integer $id Communication ID
@return mixed
fetch Communication .