mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 13:33:52 +02:00
Role sort order was not available in the UI (in JavaScript) due to the use of PHP assoc arrays and JSON encoding/decoding. This patch addresses this by sending the roles in a json array, rather than json object.
ENROLMENT MODULES ----------------- (Yes, that's the correct English spelling ;-) ) All enrolment modules must extend base class enrol_plugin which is defined in lib/enrollib.php. You can find documentation of each method in the base class.