src/ShopBundle/objects/WebModules/MTShopArticleCatalogCore/MTShopArticleCatalogCoreEndPoint.class.php
public function GetActiveShopModuleArticlelistOrderbyId($sInstanceId = '')
    {
        $iActiveShopModuleArticlelistOrderbyId = null;
        $oGlobal = TGlobal::instance();
        if ($oGlobal->UserDataExists(self::URL_ORDER_BY)) {
            $iActiveShopModuleArticlelistOrderbyId = $oGlobal->GetUserData(self::URL_ORDER_BY);
        } else {
            if (array_key_exists(self::SESSION_ACTIVE_ORDER_BY.$sInstanceId, $_SESSION)) {
                $iActiveShopModuleArticlelistOrderbyId = $_SESSION[self::SESSION_ACTIVE_ORDER_BY.$sInstanceId];
            }
        }

        return $iActiveShopModuleArticlelistOrderbyId;
    }
public function GetActiveShopModuleArticlelistOrderbyId($sInstanceId = '')
    {
        $iActiveShopModuleArticlelistOrderbyId = null;
        $oGlobal = TGlobal::instance();
        if ($oGlobal->UserDataExists(self::URL_ORDER_BY)) {
            $iActiveShopModuleArticlelistOrderbyId = $oGlobal->GetUserData(self::URL_ORDER_BY);
        } else {
            if (array_key_exists(self::SESSION_ACTIVE_ORDER_BY.$sInstanceId, $_SESSION)) {
                $iActiveShopModuleArticlelistOrderbyId = $_SESSION[self::SESSION_ACTIVE_ORDER_BY.$sInstanceId];
            }
        }

        return $iActiveShopModuleArticlelistOrderbyId;
    }
public function GetActiveShopModuleArticlelistOrderbyId ( $ sInstanceId = '' ) { $ iActiveShopModuleArticlelistOrderbyId = null ; $ oGlobal = TGlobal :: instance ( ) ; if ( $ oGlobal -> UserDataExists ( self :: URL_ORDER_BY ) ) { $ iActiveShopModuleArticlelistOrderbyId = $ oGlobal -> GetUserData ( self :: URL_ORDER_BY ) ; } else { if ( array_key_exists ( self :: SESSION_ACTIVE_ORDER_BY . $ sInstanceId , $ _SESSION ) ) { $ iActiveShopModuleArticlelistOrderbyId = $ _SESSION [ self :: SESSION_ACTIVE_ORDER_BY . $ sInstanceId ] ; } } return $ iActiveShopModuleArticlelistOrderbyId ; }
return the active order by id based on session or url parameter.

@return int
return the active order by id based on session or url parameter .