Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
Class for dealing with role mappings in IMS Enterprise. More...
Public Member Functions | |
__construct () | |
Constructor. | |
determine_default_rolemapping ($imscode) | |
This function is only used when first setting up the plugin, to decide which role assignments to recommend by default. | |
get_imsroles () | |
Returns the mapped roles. | |
Class for dealing with role mappings in IMS Enterprise.
imsenterprise_roles::determine_default_rolemapping | ( | $imscode | ) |
This function is only used when first setting up the plugin, to decide which role assignments to recommend by default.
For example, IMS role '01' is 'Learner', so may map to 'student' in Moodle.
string | $imscode |
imsenterprise_roles::get_imsroles | ( | ) |
Returns the mapped roles.
array | of IMS roles indexed by IMS code. |