mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
145900708c
This commit reduces boilerplate code. It also forces WS returning files to always return the following fields: filename, filepath, mimetype, filesize, timemodified and fileurl.
16 lines
728 B
Plaintext
16 lines
728 B
Plaintext
This files describes API changes in /mod/glossary/*,
|
|
information provided here is intended especially for developers.
|
|
|
|
=== 3.2 ===
|
|
* External functions that were returning file information now return the following file fields:
|
|
filename, filepath, mimetype, filesize, timemodified and fileurl.
|
|
Those fields are now marked as VALUE_OPTIONAL for backwards compatibility.
|
|
|
|
=== 2.8 ===
|
|
* The glossary_print_entry_attachment function no longer takes an `align`
|
|
or `insidetable` property. Instead the attachments are printed within a
|
|
div whose class is `attachments` and which can be targetted using
|
|
appropriate CSS rules.
|
|
* The glossary_print_entry_attachment function now displays the attachments
|
|
on the left by default.
|