[ Index ]

PHP Cross Reference of moodle-2.8

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  === 2.7 ===
   5  
   6  * Finally filter may use $PAGE and $OUTPUT, yay!
   7  * Old global text caching was removed, each filter is now responsible
   8    for own caching.
   9  
  10  === 2.6 ===
  11  
  12  * filtersettings.php is now deprecated, migrate to standard settings.php
  13  
  14  === 2.5 ===
  15  
  16  * legacy_filter emulation was removed
  17  * support for 'mod/*' filters was removed
  18  * use short filter name instead of old path, ex.: 'filter/tex' ---> 'tex'
  19    in all filter API functions and methods
  20  
  21  === 2.3 ===
  22  
  23  * new setup() method added to moodle_text_filter, invoked before
  24    filtering happens, used to add all the requirements to the page
  25    (js, css...) and/or other init tasks. See filter/glossary for
  26    an example using the API (and MDL-32279 for its justification).
  27  
  28  === 2.2 ===
  29  
  30  * legacy filters and legacy locations have been deprecated, so any
  31    old filter should be updated to use the new moodle_text_filter,
  32    and any filter bundled under mod/xxxx directories be moved to
  33    /filter/xxxx (MDL-29995). They will stop working completely in
  34    Moodle 2.3 (MDL-29996). See the glossary or data filters for
  35    examples of legacy module filters and locations already updated.


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