Beispiel #1
0
 /**
  * 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;
 }
Beispiel #2
0
 /**
  * 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;
 }
Beispiel #3
0
 private function purgeCaches()
 {
     ProductCache::purge();
     RequestCache::purge();
 }
Beispiel #4
0
 private function purgeCaches()
 {
     \Isotope\Model\ProductCache::purge();
     \Isotope\Model\RequestCache::purge();
 }