MDL-52954 assign: Rebuild the assignment single grade page.

This commit is contained in:
Damyon Wiese 2016-02-01 16:13:46 +08:00
parent 2a3647bae5
commit bb690849c9
86 changed files with 4593 additions and 279 deletions

View file

@ -190,4 +190,24 @@ $functions = array(
'capabilities' => 'mod/assign:view',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
),
'mod_assign_list_participants' => array(
'classname' => 'mod_assign_external',
'methodname' => 'list_participants',
'classpath' => 'mod/assign/externallib.php',
'description' => 'List the participants for a single assignment, with some summary info about their submissions.',
'type' => 'read',
'ajax' => true,
'capabilities' => 'mod/assign:view, mod/assign:viewgrades'
),
'mod_assign_submit_grading_form' => array(
'classname' => 'mod_assign_external',
'methodname' => 'submit_grading_form',
'classpath' => 'mod/assign/externallib.php',
'description' => 'Submit the grading form data via ajax',
'type' => 'write',
'ajax' => true,
'capabilities' => 'mod/assign:grade'
),
);