MDL-67547 dataformat: allow plugins to declare support for HTML.
[moodle.git] / dataformat / upgrade.txt
CommitLineData
bff1edbe
BH
1This files describes API changes in /dataformat/ download system,
2information provided here is intended especially for developers.
3
1de3b819
PH
4=== 3.9 ===
5* The following methods have been added to the base dataformat class to allow instances to export to a local
6 file. They can be overridden in extending classes to define how files should be created:
7 - start_output_to_file()
8 - close_output_to_file()
8844cb82
PH
9* Calls to the following dataformat plugin methods have been removed:
10 - write_header()
11 - write_footer()
bff1edbe 12
1de3b819 13=== 3.4 ===
d4606c1b 14* In order to allow multiple sheets in an exported file the functions write_header() and write_footer() have
e0ee37e4
MN
15 been removed from core dataformat plugins and have been replaced.
16 - write_header() has been replaced with the two functions start_output() and start_sheet().
17 - write_footer() has been replaced with the two functions close_output() and close_sheet().
d4606c1b
MN
18 For backwards compatibility write_header() and write_footer() will continue to work but if used will
19 trigger the function error_log().
bff1edbe 20
d4606c1b
MN
21=== 3.1 ===
22* Added new plugin system with low memory support for csv, ods, xls and json