[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/filter/ -> upgrade.txt (source)

   1  This file describes API changes in core filter API and plugins,
   2  information provided here is intended especially for developers.
   3  
   4  === 3.0 ===
   5  
   6  * New argument $skipfilters to filter_manager::filter_text to allow applying
   7    the filters with a given one omitted.
   8  
   9  * New admin setting class admin_setting_filter_types which can be used if you
  10    want to make the disablefilters value in your code configurable.
  11  
  12  * Methods filter_manager::text_filtering_hash and moodle_text_filter::hash have been
  13    deprecated. There were use by the old Moodle filtered text caching system
  14    that was removed several releases ago.
  15  
  16  === 2.7 ===
  17  
  18  * Finally filter may use $PAGE and $OUTPUT, yay!
  19  * Old global text caching was removed, each filter is now responsible
  20    for own caching.
  21  
  22  === 2.6 ===
  23  
  24  * filtersettings.php is now deprecated, migrate to standard settings.php
  25  
  26  === 2.5 ===
  27  
  28  * legacy_filter emulation was removed
  29  * support for 'mod/*' filters was removed
  30  * use short filter name instead of old path, ex.: 'filter/tex' ---> 'tex'
  31    in all filter API functions and methods
  32  
  33  === 2.3 ===
  34  
  35  * new setup() method added to moodle_text_filter, invoked before
  36    filtering happens, used to add all the requirements to the page
  37    (js, css...) and/or other init tasks. See filter/glossary for
  38    an example using the API (and MDL-32279 for its justification).
  39  
  40  === 2.2 ===
  41  
  42  * legacy filters and legacy locations have been deprecated, so any
  43    old filter should be updated to use the new moodle_text_filter,
  44    and any filter bundled under mod/xxxx directories be moved to
  45    /filter/xxxx (MDL-29995). They will stop working completely in
  46    Moodle 2.3 (MDL-29996). See the glossary or data filters for
  47    examples of legacy module filters and locations already updated.


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1