mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 13:02:07 +02:00
We had a few problems here. 1/ The auto complete element was displaying the picker though the field was frozen. 2/ Checking for existing enrolment including the courses chosen was not checking if the courses found were in the instance we edit. 3/ Upon creation we support multiple courses but when editing we should not expect more than the course in the instance being edited.
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.