src/ShopBundle/objects/db/TShop.class.php
public function GetAffilateCode()
    {
        $sCode = false;
        if (array_key_exists(TdbShop::SESSION_AFFILIATE_CODE, $_SESSION)) {
            $sCode = $_SESSION[TdbShop::SESSION_AFFILIATE_CODE];
        }

        return $sCode;
    }
public function GetAffilateCode()
    {
        $sCode = false;
        if (array_key_exists(TdbShop::SESSION_AFFILIATE_CODE, $_SESSION)) {
            $sCode = $_SESSION[TdbShop::SESSION_AFFILIATE_CODE];
        }

        return $sCode;
    }
public function GetAffilateCode ( ) { $ sCode = false ; if ( array_key_exists ( TdbShop :: SESSION_AFFILIATE_CODE , $ _SESSION ) ) { $ sCode = $ _SESSION [ TdbShop :: SESSION_AFFILIATE_CODE ] ; } return $ sCode ; }
return the affiliate partner code for the current session.

@return string
return the affiliate partner code for the current session .