コード例 #1
0
ファイル: Backend.php プロジェクト: ralfhartmann/isotope_core
 /**
  * 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;
 }
コード例 #2
0
ファイル: Backend.php プロジェクト: rpquadrat/core
 /**
  * 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;
 }
コード例 #3
0
ファイル: Upgrade.php プロジェクト: ralfhartmann/isotope_core
 private function purgeCaches()
 {
     ProductCache::purge();
     RequestCache::purge();
 }
コード例 #4
0
ファイル: Upgrade.php プロジェクト: rpquadrat/core
 private function purgeCaches()
 {
     \Isotope\Model\ProductCache::purge();
     \Isotope\Model\RequestCache::purge();
 }