mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-52788 mod_quiz: New Web Service mod_quiz_start_attempt
This commit is contained in:
parent
0057c2ced6
commit
b89544404e
4 changed files with 293 additions and 29 deletions
|
@ -73,4 +73,13 @@ $functions = array(
|
|||
'capabilities' => 'mod/quiz:view',
|
||||
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
|
||||
),
|
||||
|
||||
'mod_quiz_start_attempt' => array(
|
||||
'classname' => 'mod_quiz_external',
|
||||
'methodname' => 'start_attempt',
|
||||
'description' => 'Starts a new attempt at a quiz.',
|
||||
'type' => 'write',
|
||||
'capabilities' => 'mod/quiz:attempt',
|
||||
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue