[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/cache/ -> upgrade.txt (source)

   1  This files describes API changes in /cache/stores/* - cache store plugins.
   2  Information provided here is intended especially for developers.
   3  
   4  === 2.7 ===
   5  * cache_store::is_ready is no longer abstract, calling cache_store::are_requirements_met by default.
   6  
   7  === 2.6 ===
   8  * All cache instances are recorded and subsequent requests are given a reference to the original instance.
   9  * The persistent option for the cache definition has been deprecated. Please use the staticacceleration option instead.
  10  * There is a new static acceleration option. If enabled data passing through the cache is held onto.
  11  * The persistentmaxsize option has been renamed to staticaccelerationsize. It does the same thing.
  12  * cache_definition::should_be_persistent has been deprecated. Please call cache_definition::use_static_acceleration instead.
  13  * cache_definition::get_persistent_max_size has been deprecated. Please call cache_definition::get_static_acceleration_size instead.
  14  * cache::is_using_persist_cache() has been deprecated. Please call  cache::use_static_acceleration()
  15  * cache::is_in_persist_cache() has been deprecated. Please call  cache::static_acceleration_has()
  16  * cache::get_from_persist_cache() has been deprecated. Please call  cache::static_acceleration_get()
  17  * cache::set_in_persist_cache() has been deprecated. Please call  cache::static_acceleration_set()
  18  * cache::delete_from_persist_cache() has been deprecated. Please call cache::static_acceleration_delete()
  19  * If you have any custom cache loaders you will need to rename these methods if you have overriden them and adjust any calls you may have made to them.
  20  
  21  === 2.5 ===
  22  * cleanup method renamed to instance_deleted.
  23    It is now called when the store is deleted as all comments suggested anyway.
  24  * instance_created method added.
  25    It is called when the store is created for the very first time.


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1