2016-04-02 16:10:29 +11:00
|
|
|
This files describes API changes in /dataformat/ download system,
|
|
|
|
information provided here is intended especially for developers.
|
|
|
|
|
2020-04-23 23:05:15 +01:00
|
|
|
=== 3.9 ===
|
|
|
|
* The following methods have been added to the base dataformat class to allow instances to export to a local
|
|
|
|
file. They can be overridden in extending classes to define how files should be created:
|
|
|
|
- start_output_to_file()
|
|
|
|
- close_output_to_file()
|
2020-05-04 13:24:31 +01:00
|
|
|
* Calls to the following dataformat plugin methods have been removed:
|
|
|
|
- write_header()
|
|
|
|
- write_footer()
|
2020-04-27 10:13:30 +01:00
|
|
|
* The following methods have been added to the base class to allow instances to define support for exporting
|
|
|
|
HTML content, with additional support for defining how images should be embedded:
|
|
|
|
- supports_html()
|
|
|
|
- export_html_image_source()
|
|
|
|
* Dataformat writers should also call the following method to ensure data is properly formatted before being
|
|
|
|
written, which takes into account prior methods defining support for HTML:
|
|
|
|
- format_record()
|
2016-04-02 16:10:29 +11:00
|
|
|
|
2020-04-23 23:05:15 +01:00
|
|
|
=== 3.4 ===
|
2017-06-26 13:45:59 +08:00
|
|
|
* In order to allow multiple sheets in an exported file the functions write_header() and write_footer() have
|
2017-06-27 11:19:26 +08:00
|
|
|
been removed from core dataformat plugins and have been replaced.
|
|
|
|
- write_header() has been replaced with the two functions start_output() and start_sheet().
|
|
|
|
- write_footer() has been replaced with the two functions close_output() and close_sheet().
|
2017-06-26 13:45:59 +08:00
|
|
|
For backwards compatibility write_header() and write_footer() will continue to work but if used will
|
|
|
|
trigger the function error_log().
|
2016-04-02 16:10:29 +11:00
|
|
|
|
2017-06-26 13:45:59 +08:00
|
|
|
=== 3.1 ===
|
|
|
|
* Added new plugin system with low memory support for csv, ods, xls and json
|