mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 01:46:45 +02:00
MDL-51579 core_course: New Web Service get_course_module_by_instance
This commit is contained in:
parent
35d3e8b00b
commit
13bb68199e
4 changed files with 128 additions and 1 deletions
|
@ -750,6 +750,14 @@ $functions = array(
|
|||
'type' => 'read'
|
||||
),
|
||||
|
||||
'core_course_get_course_module_by_instance' => array(
|
||||
'classname' => 'core_course_external',
|
||||
'methodname' => 'get_course_module_by_instance',
|
||||
'classpath' => 'course/externallib.php',
|
||||
'description' => 'Return information about a given module name and instance id',
|
||||
'type' => 'read'
|
||||
),
|
||||
|
||||
// === course category related functions ===
|
||||
|
||||
'core_course_get_categories' => array(
|
||||
|
@ -1200,6 +1208,7 @@ $services = array(
|
|||
'core_course_view_course',
|
||||
'core_course_search_courses',
|
||||
'core_course_get_course_module',
|
||||
'core_course_get_course_module_by_instance',
|
||||
'core_completion_get_activities_completion_status',
|
||||
'core_notes_get_course_notes',
|
||||
'core_completion_get_course_completion_status',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue