Access API
From MoodleDocs
The Access API gives you functions so you can determine what the current user is allow to do, and it allows modules to extend Moodle with new capabilities.
Note:
If you want to create a new page for developers, you should create it on the Moodle Developer Resource site. |
The Access API gives you functions so you can determine what the current user is allow to do, and it allows modules to extend Moodle with new capabilities.