original_string: public function actionAssign($id)
      {
          $model = Yii::createObject([
              'class'   => Assignment::className(),
              'user_id' => $id,
          ]);
  
          if ($model->load(\Yii::$app->request->post()) && $model->updateAssignments()) {
          }
  
          return \matacms\rbac\widgets\Assignments::widget([
              'model' => $model,
          ]);
          /*$model = Yii::createObject([
              'class'   => Assignment::className(),
              'user_id' => $id,
          ]);
  
          if ($model->load(Yii::$app->request->post()) && $model->updateAssignments()) {
  
          }
  
          return $this->render('assign', [
              'model' => $model,
          ]);*/
      }
code: public function actionAssign($id)
      {
          $model = Yii::createObject([
              'class'   => Assignment::className(),
              'user_id' => $id,
          ]);
  
          if ($model->load(\Yii::$app->request->post()) && $model->updateAssignments()) {
          }
  
          return \matacms\rbac\widgets\Assignments::widget([
              'model' => $model,
          ]);
          /*$model = Yii::createObject([
              'class'   => Assignment::className(),
              'user_id' => $id,
          ]);
  
          if ($model->load(Yii::$app->request->post()) && $model->updateAssignments()) {
  
          }
  
          return $this->render('assign', [
              'model' => $model,
          ]);*/
      }
code_tokens: public function actionAssign ( $ id ) { $ model = Yii :: createObject ( [ 'class' => Assignment :: className ( ) , 'user_id' => $ id , ] ) ; if ( $ model -> load ( \ Yii :: $ app -> request -> post ( ) ) && $ model -> updateAssignments ( ) ) { } return \ matacms \ rbac \ widgets \ Assignments :: widget ( [ 'model' => $ model , ] ) ; /*$model = Yii::createObject([
              'class'   => Assignment::className(),
              'user_id' => $id,
          ]);
  
          if ($model->load(Yii::$app->request->post()) && $model->updateAssignments()) {
  
          }
  
          return $this->render('assign', [
              'model' => $model,
          ]);*/ }
docstring: Show form with auth items for user.
  
  @param int $id
docstring_tokens: Show form with auth items for user .