library/Services/ShopObjectConstructor/ShopObjectConstructor.php
protected function setActiveShop($shopId)
    {
        if ($shopId && $this->getServiceConfig()->getShopEdition() == 'EE') {
            \OxidEsales\Eshop\Core\Registry::getConfig()->setShopId($shopId);
        }
    }
protected function setActiveShop($shopId)
    {
        if ($shopId && $this->getServiceConfig()->getShopEdition() == 'EE') {
            \OxidEsales\Eshop\Core\Registry::getConfig()->setShopId($shopId);
        }
    }
protected function setActiveShop ( $ shopId ) { if ( $ shopId && $ this -> getServiceConfig ( ) -> getShopEdition ( ) == 'EE' ) { \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> setShopId ( $ shopId ) ; } }
Switches active shop

@param string $shopId
Switches active shop