Example #1
0
 /**
  * Redeclared for processing cache tags throw application object
  *
  * @return array
  */
 protected function _getCacheTags()
 {
     $tags = parent::_getCacheTags();
     $tags[] = Mage_Core_Model_App::CACHE_TAG;
     $tags[] = self::CACHE_TAG;
     return $tags;
 }
Example #2
0
 /**
  * Redeclared for processing cache tags throw application object
  *
  * @return array
  */
 protected function _getCacheTags()
 {
     $tags = parent::_getCacheTags();
     foreach ($tags as $key => $value) {
         $tags[$key] = Mage::app()->prepareCacheId($value);
     }
     $tags[] = Mage_Core_Model_App::CACHE_TAG;
     return $tags;
 }