src/ShopBundle/objects/db/TShop.class.php
protected static function CacheGetKey($iPortalId = null)
    {
        if (is_null($iPortalId)) {
            $portal = self::getPortalDomainService()->getActivePortal();
            if (null !== $portal) {
                $iPortalId = $portal->id;
            }
        }
        $aKey = array('class' => 'TdbShop', 'ident' => 'objectInstance', 'portalid' => $iPortalId);

        return TCacheManager::GetKey($aKey);
    }
protected static function CacheGetKey($iPortalId = null)
    {
        if (is_null($iPortalId)) {
            $portal = self::getPortalDomainService()->getActivePortal();
            if (null !== $portal) {
                $iPortalId = $portal->id;
            }
        }
        $aKey = array('class' => 'TdbShop', 'ident' => 'objectInstance', 'portalid' => $iPortalId);

        return TCacheManager::GetKey($aKey);
    }
protected static function CacheGetKey ( $ iPortalId = null ) { if ( is_null ( $ iPortalId ) ) { $ portal = self :: getPortalDomainService ( ) -> getActivePortal ( ) ; if ( null !== $ portal ) { $ iPortalId = $ portal -> id ; } } $ aKey = array ( 'class' => 'TdbShop' , 'ident' => 'objectInstance' , 'portalid' => $ iPortalId ) ; return TCacheManager :: GetKey ( $ aKey ) ; }
get the cache key used to id the object in cache.

@param string|int|null $iPortalId

@return string
get the cache key used to id the object in cache .