original_string: public function applyToMenuSource(\Gems_Menu_ParameterSource $source)
      {
          $source->offsetSet('gsf_id_organization', $this->getBaseOrganizationId());
          $source->offsetSet('gsf_active',          $this->isActive() ? 1 : 0);
          $source->offsetSet('accessible_role',     $this->inAllowedGroup() ? 1 : 0);
          $source->offsetSet('can_mail',            $this->hasEmailAddress() ? 1 : 0);
          $source->offsetSet('has_2factor',         $this->isTwoFactorEnabled() ? 2 : 0);
      }
code: public function applyToMenuSource(\Gems_Menu_ParameterSource $source)
      {
          $source->offsetSet('gsf_id_organization', $this->getBaseOrganizationId());
          $source->offsetSet('gsf_active',          $this->isActive() ? 1 : 0);
          $source->offsetSet('accessible_role',     $this->inAllowedGroup() ? 1 : 0);
          $source->offsetSet('can_mail',            $this->hasEmailAddress() ? 1 : 0);
          $source->offsetSet('has_2factor',         $this->isTwoFactorEnabled() ? 2 : 0);
      }
code_tokens: public function applyToMenuSource ( \ Gems_Menu_ParameterSource $ source ) { $ source -> offsetSet ( 'gsf_id_organization' , $ this -> getBaseOrganizationId ( ) ) ; $ source -> offsetSet ( 'gsf_active' , $ this -> isActive ( ) ? 1 : 0 ) ; $ source -> offsetSet ( 'accessible_role' , $ this -> inAllowedGroup ( ) ? 1 : 0 ) ; $ source -> offsetSet ( 'can_mail' , $ this -> hasEmailAddress ( ) ? 1 : 0 ) ; $ source -> offsetSet ( 'has_2factor' , $ this -> isTwoFactorEnabled ( ) ? 2 : 0 ) ; }
docstring: Set menu parameters from this user
  
  @param \Gems_Menu_ParameterSource $source
  @return \Gems_User_User
docstring_tokens: Set menu parameters from this user