Commit 0677018e authored by Dan Poltawski's avatar Dan Poltawski
Browse files

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

parents c56d14be 992365f8
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 ===
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment