Proyectos de Subversion Moodle

Rev

Rev 1 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
This files describes API changes in /customfield/*,
2
Information provided here is intended especially for developers.
3
 
11 efrain 4
=== 4.4.2 ===
5
* The customfield_select field controller `get_options` method now returns each option pre-formatted
6
 
1 efrain 7
=== 4.4 ===
8
* Enhance the handling of files embedded within textarea custom fields in the course backup and restore functionalities.
9
  These files are now properly backed up when a course is backed up, and restored when the course is restored.
10
  Other types of custom fields can also benefit from this new API. See MDL-79151 for more information.
11
  `\core_customfield\handler::restore_instance_data_from_backup()` now conditionally returns a data_controller id and
12
  there are two new methods, `\core_customfield\data_controller::backup_define_structure()` and
13
  `\core_customfield\data_controller::restore_define_structure()`.
14
 
15
=== 4.3 ===
16
* Field categories are now consistently of type `PARAM_TEXT`, ensure instance `get_formatted_name()` helper is used
17
  during output
18
 
19
=== 4.2 ===
20
* The `\customfield_select\field_controller::get_options_array` method, deprecated since 3.10, has been removed, use
21
  the field instance `get_options` method instead
22
 
23
=== 3.11 ===
24
* Methods \core_customfield\handler::get_field_config_form() and \core_customfield\handler::setup_edit_page() are no
25
  longer used. Components that define custom fields areas do not need to implement them. Field edit form opens in
26
  the modal now.