Свойство | Type | Description | |
---|---|---|---|
$_aNeverCacheBlocks | array | Blocks that should never be cached | |
$iCacheLifetime | integer | Cache lifetime |
Méthode | Description | |
---|---|---|
__construct ( ) | Sets the cache lifetime from store configuration | |
customBlockCache ( Varien_Event_Observer $observer ) : self | ||
replaceFormKey ( Varien_Event_Observer $observer ) : self | Replace the form key |
Méthode | Description | |
---|---|---|
_generateCategoryCacheKey ( Varien_Event_Observer $observer, string $sKey ) : string | Generate a category cache key | |
_getParamKey ( string $vParam ) : string | Creates a Key from the request param. This key is used for creating unique Cache Key, and Cache Tag | |
_getProductId ( ) : mixed | Fetches the current product id from two possible registry keys. | |
_getReviewToolBarKey ( ) : string | This creates a Key for the Review List ToolBar based on params Page:P and Review Limit:limit. |
Méthode | Description | |
---|---|---|
_generateProductCacheKey ( Varien_Event_Observer $observer, Mage_Catalog_Model_Product $oProduct, string $reviewKey, string $alias, string $vTemplate ) : string | Create separate cached block for each product, viewed by each customer group (e.g. to cache different tax display rules) | |
_generateProductCacheTags ( Varien_Event_Observer $observer, Mage_Catalog_Model_Product $oProduct ) : array | Accommodated grouped products by adding the tag for each associated product. |
public __construct ( ) |
protected _generateCategoryCacheKey ( Varien_Event_Observer $observer, string $sKey ) : string | ||
$observer | Varien_Event_Observer | |
$sKey | string | |
Résultat | string |
protected _getParamKey ( string $vParam ) : string | ||
$vParam | string | |
Résultat | string |
protected _getProductId ( ) : mixed | ||
Résultat | mixed |
protected _getReviewToolBarKey ( ) : string | ||
Résultat | string |
public customBlockCache ( Varien_Event_Observer $observer ) : self | ||
$observer | Varien_Event_Observer | |
Résultat | self |
public replaceFormKey ( Varien_Event_Observer $observer ) : self | ||
$observer | Varien_Event_Observer | |
Résultat | self |
protected array $_aNeverCacheBlocks | ||
Résultat | array |