src/ShopBundle/pkgExtranet/objects/db/TShopDataExtranetUser.class.php
public function Logout()
    {
        $oBasket = TShopBasket::GetInstance();
        if (is_array($oBasket->aCompletedOrderStepList)) {
            reset($oBasket->aCompletedOrderStepList);
            foreach ($oBasket->aCompletedOrderStepList as $sStepName => $bValue) {
                $oBasket->aCompletedOrderStepList[$sStepName] = false;
            }
        }
        parent::Logout();

        if (SHOP_CLEAR_BASKET_CONTENTS_ON_LOGOUT) {
            if (class_exists('TShopBasket')) {
                $oBasket = TShopBasket::GetInstance();
                $oBasket->ClearBasket();
            }
        }
    }
public function Logout()
    {
        $oBasket = TShopBasket::GetInstance();
        if (is_array($oBasket->aCompletedOrderStepList)) {
            reset($oBasket->aCompletedOrderStepList);
            foreach ($oBasket->aCompletedOrderStepList as $sStepName => $bValue) {
                $oBasket->aCompletedOrderStepList[$sStepName] = false;
            }
        }
        parent::Logout();

        if (SHOP_CLEAR_BASKET_CONTENTS_ON_LOGOUT) {
            if (class_exists('TShopBasket')) {
                $oBasket = TShopBasket::GetInstance();
                $oBasket->ClearBasket();
            }
        }
    }
public function Logout ( ) { $ oBasket = TShopBasket :: GetInstance ( ) ; if ( is_array ( $ oBasket -> aCompletedOrderStepList ) ) { reset ( $ oBasket -> aCompletedOrderStepList ) ; foreach ( $ oBasket -> aCompletedOrderStepList as $ sStepName => $ bValue ) { $ oBasket -> aCompletedOrderStepList [ $ sStepName ] = false ; } } parent :: Logout ( ) ; if ( SHOP_CLEAR_BASKET_CONTENTS_ON_LOGOUT ) { if ( class_exists ( 'TShopBasket' ) ) { $ oBasket = TShopBasket :: GetInstance ( ) ; $ oBasket -> ClearBasket ( ) ; } } }
logs the user out.
logs the user out .