mirror of
https://github.com/moodle/moodle.git
synced 2025-03-20 15:40:17 +01:00
Whenever the role_capabilities table is changed, we need to remember to clear the cache for the role(s) being modified. This is far simpler when all of those changes happen in a single file, i.e. accesslib.php, allowing other parts of the application to use the public functions without requiring knowledge of the cache internals.
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.