/** * Truncate the product cache table if a product is changed * Second parameter and return value is to use the method as save_callback * * @param mixed $varValue * * @return mixed */ public static function truncateProductCache($varValue = null) { ProductCache::purge(); return $varValue; }
/** * Truncate the product cache table if a product is changed * Second parameter and return value is to use the method as save_callback * @param mixed * @return mixed */ public static function truncateProductCache($varValue = null) { \Isotope\Model\ProductCache::purge(); return $varValue; }
private function purgeCaches() { ProductCache::purge(); RequestCache::purge(); }
private function purgeCaches() { \Isotope\Model\ProductCache::purge(); \Isotope\Model\RequestCache::purge(); }