Example #1
0
 /**
  * Removes any set cache
  *
  * @return void
  */
 public static function removeCache()
 {
     self::$_cache = null;
 }
Example #2
0
 /**
  * Sets a cache for all instances of Zend_Translate
  *
  * @param Zend_Cache_Core $cache Cache to store to
  */
 public static function setCache(Zend_Cache_Core $cache)
 {
     self::$_cache = $cache;
 }