mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 14:02:32 +02:00
MDL-55740 assign: Add assignment WS to the mobile service
* mod_assign_submit_grading_form * mod_assign_get_participant to the mobile service
This commit is contained in:
parent
1f2744851f
commit
114eaf519d
@ -218,7 +218,8 @@ $functions = array(
|
||||
'description' => 'Submit the grading form data via ajax',
|
||||
'type' => 'write',
|
||||
'ajax' => true,
|
||||
'capabilities' => 'mod/assign:grade'
|
||||
'capabilities' => 'mod/assign:grade',
|
||||
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
|
||||
),
|
||||
'mod_assign_get_participant' => array(
|
||||
'classname' => 'mod_assign_external',
|
||||
@ -227,7 +228,8 @@ $functions = array(
|
||||
'description' => 'Get a participant for an assignment, with some summary info about their submissions.',
|
||||
'type' => 'read',
|
||||
'ajax' => true,
|
||||
'capabilities' => 'mod/assign:view, mod/assign:viewgrades'
|
||||
'capabilities' => 'mod/assign:view, mod/assign:viewgrades',
|
||||
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
|
||||
),
|
||||
'mod_assign_view_assign' => array(
|
||||
'classname' => 'mod_assign_external',
|
||||
|
@ -25,6 +25,6 @@
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$plugin->component = 'mod_assign'; // Full name of the plugin (used for diagnostics).
|
||||
$plugin->version = 2016070402; // The current module version (Date: YYYYMMDDXX).
|
||||
$plugin->version = 2016070403; // The current module version (Date: YYYYMMDDXX).
|
||||
$plugin->requires = 2016051900; // Requires this Moodle version.
|
||||
$plugin->cron = 60;
|
||||
|
Loading…
x
Reference in New Issue
Block a user