mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-40126 Enrolments: Implemented two webservices to get enrolment instance info
1. core_enrol_get_course_enrolment_methods() which returns all enrolment method instances which implement get_enrol_info() 2. enrol_self_get_instance_info() will return information about self enrolment instance.
This commit is contained in:
parent
bdd045c5ec
commit
be9bf94e4a
8 changed files with 363 additions and 1 deletions
|
@ -485,6 +485,14 @@ $functions = array(
|
|||
'capabilities'=> 'moodle/course:viewparticipants',
|
||||
),
|
||||
|
||||
'core_enrol_get_course_enrolment_methods' => array(
|
||||
'classname' => 'core_enrol_external',
|
||||
'methodname' => 'get_course_enrolment_methods',
|
||||
'classpath' => 'enrol/externallib.php',
|
||||
'description' => 'Get the list of course enrolment methods',
|
||||
'type' => 'read',
|
||||
),
|
||||
|
||||
// === Role related functions ===
|
||||
|
||||
'moodle_role_assign' => array(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue