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);
    }
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);
    }
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 ) ; }
Set menu parameters from this user

@param \Gems_Menu_ParameterSource $source
@return \Gems_User_User
Set menu parameters from this user