MDL-50557 mod_scorm: New WS mod_scorm_get_scorm_sco_tracks
[moodle.git] / mod / scorm / db / services.php
index 9d3b054..929f649 100644 (file)
@@ -68,4 +68,12 @@ $functions = array(
         'type' => 'write',
         'capabilities' => 'mod/scorm:savetrack'
     ),
+
+    'mod_scorm_get_scorm_sco_tracks' => array(
+        'classname' => 'mod_scorm_external',
+        'methodname' => 'get_scorm_sco_tracks',
+        'description' => 'Retrieves SCO tracking data for the given user id and attempt number',
+        'type' => 'read',
+        'capabilities' => ''
+    ),
 );