Merge branch 'MDL-54641_master' of https://github.com/snake/moodle

This commit is contained in:
Dan Poltawski
2016-05-19 11:33:53 +01:00
+5 -5
View File
@@ -1,13 +1,13 @@
This files describes API changes in /enrol/* - plugins,
information provided here is intended especially for developers.
=== 3.0 ===
Enrolment plugins UI have been consolidated. Plugins can implement use_standard_editing_ui() function
and add edit_instance_form() and edit_instance_validation() methods instead of providing their own edit.php and form. They can
then rely on the default implementation of get_action_icons and get_course_navigation. In future
this will mean they can be called by webservices/user upload tools because they can validate their data.
=== 3.1 ===
* core_enrol_external::get_enrolled_users now supports two additional parameters for ordering: sortby and sortdirection.
* Enrolment plugins UI have been consolidated. Plugins can implement use_standard_editing_ui() function
and add edit_instance_form() and edit_instance_validation() methods instead of providing their own edit.php and form.
They can then rely on the default implementation of get_action_icons and get_course_navigation. In future this will
mean they can be called by webservices/user upload tools because they can validate their data.
=== 3.0 ===