source/Core/OnlineRequest.php
private function _getClusterId()
    {
        $oConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
        $sBaseShop = $oConfig->getBaseShopId();
        $sClusterId = $oConfig->getShopConfVar('sClusterId', $sBaseShop);
        if (!$sClusterId) {
            $oUUIDGenerator = oxNew(\OxidEsales\Eshop\Core\UniversallyUniqueIdGenerator::class);
            $sClusterId = $oUUIDGenerator->generate();
            $oConfig->saveShopConfVar("str", 'sClusterId', $sClusterId, $sBaseShop);
        }

        return $sClusterId;
    }
private function _getClusterId()
    {
        $oConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
        $sBaseShop = $oConfig->getBaseShopId();
        $sClusterId = $oConfig->getShopConfVar('sClusterId', $sBaseShop);
        if (!$sClusterId) {
            $oUUIDGenerator = oxNew(\OxidEsales\Eshop\Core\UniversallyUniqueIdGenerator::class);
            $sClusterId = $oUUIDGenerator->generate();
            $oConfig->saveShopConfVar("str", 'sClusterId', $sClusterId, $sBaseShop);
        }

        return $sClusterId;
    }
private function _getClusterId ( ) { $ oConfig = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) ; $ sBaseShop = $ oConfig -> getBaseShopId ( ) ; $ sClusterId = $ oConfig -> getShopConfVar ( 'sClusterId' , $ sBaseShop ) ; if ( ! $ sClusterId ) { $ oUUIDGenerator = oxNew ( \ OxidEsales \ Eshop \ Core \ UniversallyUniqueIdGenerator :: class ) ; $ sClusterId = $ oUUIDGenerator -> generate ( ) ; $ oConfig -> saveShopConfVar ( "str" , 'sClusterId' , $ sClusterId , $ sBaseShop ) ; } return $ sClusterId ; }
Returns cluster id.
Takes cluster id from configuration if set, otherwise generates it.

@return string
Returns cluster id . Takes cluster id from configuration if set otherwise generates it .