Proyectos de Subversion Moodle

Rev

Rev 11 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 11 Rev 1441
Línea 1... Línea -...
1
This files describes API changes in core libraries and APIs,
-
 
2
information provided here is intended especially for developers.
-
 
3
 
-
 
4
=== 4.4.2 ===
1
=== 4.5 Onwards ===
Línea 5... Línea 2...
5
 
2
 
6
* The `\core\dataformat::get_format_instance` method is now public, and can be used to retrieve a writer instance for
-
 
7
  a given dataformat
-
 
8
* Added the ability for unit tests to autoload classes in the `\[component]\tests\` namespace from the `[path/to/component]/tests/classes` directory.
-
 
Línea 9... Línea 3...
9
* Added the `advanced_testcase::load_fixture()` helper to load fixtures from a components `tests/fixtures/` folder.
3
This file has been replaced by UPGRADING.md. See MDL-81125 for further information.
Línea -... Línea 4...
-
 
4
 
10
 
5
===
Línea 11... Línea 6...
11
=== 4.4.1 ===
6
 
Línea 12... Línea 7...
12
 
7
This files describes API changes in core libraries and APIs,
13
* Use server timezone when constructing `\DateTimeImmutable` for the system `\core\clock` implementation.
8
information provided here is intended especially for developers.
Línea 160... Línea 155...
160
* There is a new method called enrol_plugin::send_course_welcome_message_to_user() that sends the course welcome message to a user.
155
* There is a new method called enrol_plugin::send_course_welcome_message_to_user() that sends the course welcome message to a user.
161
* The list of standard, and deleted, plugins is now located as JSON at lib/plugins.json.
156
* The list of standard, and deleted, plugins is now located as JSON at lib/plugins.json.
162
* groups_get_user_groups() in grouplib has a new $includehidden paramater, which will return groups for user even if they have
157
* groups_get_user_groups() in grouplib has a new $includehidden paramater, which will return groups for user even if they have
163
  GROUP_VISIBILITY_NONE. This is false by default, and should be used with care. The calling code must ensure that these groups
158
  GROUP_VISIBILITY_NONE. This is false by default, and should be used with care. The calling code must ensure that these groups
164
  are not exposed to the user as this may be a privacy issue.
159
  are not exposed to the user as this may be a privacy issue.
165
* Added a new `renderer_base::get_page` getter method.
-
 
Línea 166... Línea 160...
166
 
160
 
Línea 167... Línea 161...
167
=== 4.3 ===
161
=== 4.3 ===
168
 
162
 
Línea 519... Línea 513...
519
* The following functions, previously used (exclusively) by upgrade steps are not available anymore
513
* The following functions, previously used (exclusively) by upgrade steps are not available anymore
520
  because of the upgrade cleanup performed for this version. See MDL-71747 for more info:
514
  because of the upgrade cleanup performed for this version. See MDL-71747 for more info:
521
    - upgrade_analytics_fix_contextids_defaults()
515
    - upgrade_analytics_fix_contextids_defaults()
522
    - upgrade_convert_hub_config_site_param_names()
516
    - upgrade_convert_hub_config_site_param_names()
523
    - upgrade_rename_prediction_actions_useful_incorrectly_flagged()
517
    - upgrade_rename_prediction_actions_useful_incorrectly_flagged()
524
* The method ensure_adhoc_task_qos() in lib/classes/task/manager.php  has been deprecated, please use get_next_adhoc_task()
518
* The method ensure_adhoc_task_qos() in lib/classes/task/manager.php has been deprecated, please use get_next_adhoc_task()
525
  instead.
519
  instead.
526
* New setting $CFG->enrolments_sync_interval controls the minimum time in seconds between re-synchronization of enrollment via enrol_check_plugins.
520
* New setting $CFG->enrolments_sync_interval controls the minimum time in seconds between re-synchronization of enrollment via enrol_check_plugins.
527
  This only applies to web requests without a session such as webservice calls, tokenpluginfile.php and rss links Function
521
  This only applies to web requests without a session such as webservice calls, tokenpluginfile.php and rss links Function
528
  enrol_check_plugins now has $ignoreintervalcheck flag to bypass checking for that setting.
522
  enrol_check_plugins now has $ignoreintervalcheck flag to bypass checking for that setting.
529
* For performance reasons, sql_reader interface has a new function get_events_select_exists() which determines whether
523
* For performance reasons, sql_reader interface has a new function get_events_select_exists() which determines whether
Línea 1602... Línea 1596...
1602
 
1596
 
1603
* Custom roles with access to any part of site administration that do not use the manager archetype will need
1597
* Custom roles with access to any part of site administration that do not use the manager archetype will need
1604
  moodle/site:configview capability added.
1598
  moodle/site:configview capability added.
1605
* Admin setting "Show My courses expanded on Dashboard" has been removed.
1599
* Admin setting "Show My courses expanded on Dashboard" has been removed.
1606
* Some backwards and forwards compatibility has been added for different bootstrap versions.
1600
* Some backwards and forwards compatibility has been added for different bootstrap versions.
1607
  This is to allow the same markup to work in "clean" and "boost" themes alot of the time. It is also to allow user text
1601
  This is to allow the same markup to work in "clean" and "boost" themes a lot of the time. It is also to allow user text
1608
  with bootstrap classes to keep working in the new theme. See MDL-56004 for the list of supported classes.
1602
  with bootstrap classes to keep working in the new theme. See MDL-56004 for the list of supported classes.
1609
* MForms element 'submitlink' has been deprecated.
1603
* MForms element 'submitlink' has been deprecated.
1610
* Searchable selector form element is now a wrapper for autocomplete. A "No selection" option is automatically
1604
* Searchable selector form element is now a wrapper for autocomplete. A "No selection" option is automatically
1611
  added to the options list for best backwards compatibility - if you were manually adding a "no selection" option you will need
1605
  added to the options list for best backwards compatibility - if you were manually adding a "no selection" option you will need