Render Param

It’s posiible set params to view only once ? Because now when I set something in Controllet like below

   return $this->render('update', [

                'model' => $model,




I must set the same in my view when I would like use this param for example in common _form file

    <?= $this->render('_form', [



        'model' => $model,

    ]) ?>

No, you must pass the parameters to your update.php and from there to your _form.php.

That’s how it is.