mirror of
https://github.com/moodle/moodle.git
synced 2025-08-11 11:56:40 +02:00
MDL-50547 mod_resource: New WS mod_resource_get_resources_by_courses
This commit is contained in:
parent
5130953c8a
commit
429cc9365e
4 changed files with 259 additions and 2 deletions
|
@ -36,5 +36,13 @@ $functions = array(
|
|||
'capabilities' => 'mod/resource:view',
|
||||
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
|
||||
),
|
||||
|
||||
'mod_resource_get_resources_by_courses' => array(
|
||||
'classname' => 'mod_resource_external',
|
||||
'methodname' => 'get_resources_by_courses',
|
||||
'description' => 'Returns a list of files in a provided list of courses, if no list is provided all files that
|
||||
the user can view will be returned.',
|
||||
'type' => 'read',
|
||||
'capabilities' => 'mod/resource:view',
|
||||
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue