mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-32662 Added new groupings methods to services file
This commit is contained in:
parent
fb3f5d3173
commit
7ce235909a
@ -163,6 +163,62 @@ $functions = array(
|
||||
'capabilities'=> 'moodle/course:managegroups',
|
||||
),
|
||||
|
||||
'core_group_create_groupings' => array(
|
||||
'classname' => 'core_group_external',
|
||||
'methodname' => 'create_groupings',
|
||||
'classpath' => 'group/externallib.php',
|
||||
'description' => 'Creates new groupings',
|
||||
'type' => 'write',
|
||||
),
|
||||
|
||||
'core_group_update_groupings' => array(
|
||||
'classname' => 'core_group_external',
|
||||
'methodname' => 'update_groupings',
|
||||
'classpath' => 'group/externallib.php',
|
||||
'description' => 'Updates existing groupings',
|
||||
'type' => 'write',
|
||||
),
|
||||
|
||||
'core_group_get_groupings' => array(
|
||||
'classname' => 'core_group_external',
|
||||
'methodname' => 'get_groupings',
|
||||
'classpath' => 'group/externallib.php',
|
||||
'description' => 'Returns groupings details.',
|
||||
'type' => 'read',
|
||||
),
|
||||
|
||||
'core_group_get_course_groupings' => array(
|
||||
'classname' => 'core_group_external',
|
||||
'methodname' => 'get_course_groupings',
|
||||
'classpath' => 'group/externallib.php',
|
||||
'description' => 'Returns all groupings in specified course.',
|
||||
'type' => 'read',
|
||||
),
|
||||
|
||||
'core_group_delete_groupings' => array(
|
||||
'classname' => 'core_group_external',
|
||||
'methodname' => 'delete_groupings',
|
||||
'classpath' => 'group/externallib.php',
|
||||
'description' => 'Deletes all specified groupings.',
|
||||
'type' => 'write',
|
||||
),
|
||||
|
||||
'core_group_assign_grouping' => array(
|
||||
'classname' => 'core_group_external',
|
||||
'methodname' => 'assign_grouping',
|
||||
'classpath' => 'group/externallib.php',
|
||||
'description' => 'Assing groups from groupings',
|
||||
'type' => 'write',
|
||||
),
|
||||
|
||||
'core_group_unassign_grouping' => array(
|
||||
'classname' => 'core_group_external',
|
||||
'methodname' => 'unassign_grouping',
|
||||
'classpath' => 'group/externallib.php',
|
||||
'description' => 'Unassing groups from groupings',
|
||||
'type' => 'write',
|
||||
),
|
||||
|
||||
// === file related functions ===
|
||||
|
||||
'moodle_file_get_files' => array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user