Exemple #1
0
 /**
  * Presets cache handler for items loader.
  * 
  * <p>
  * Use this method in order to preset cache handler for items list that you want to load into global POT instance. Note that this driver will be set for global resource only. If you will create local items list instances they won't use this driver automaticly.
  * </p>
  * 
  * <p>
  * Note: Since 0.2.0+SVN this method is static.
  * </p>
  * 
  * @version 0.2.0+SVN
  * @param IOTS_FileCache $cache Cache handler (skip this parameter to reset cache handler to null).
  */
 public static function setItemsCache(IOTS_FileCache $cache = null)
 {
     self::$itemsCache = $cache;
 }