X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=blobdiff_plain;f=lib%2Fdb%2Fservices.php;h=50422b27bbcf17e4e6ccff7ff622b0270472fd04;hp=b629e937be79a86f3f579c6aea3e274017525f48;hb=05b27f211840b2ce54c140d53f0f3f53e318aae7;hpb=ae057520483699c6021630d6772a7152eb63ed82 diff --git a/lib/db/services.php b/lib/db/services.php index b629e937be7..50422b27bbc 100644 --- a/lib/db/services.php +++ b/lib/db/services.php @@ -629,6 +629,14 @@ $functions = array( 'type' => 'read', 'ajax' => true, ), + 'core_course_get_activity_picker_info' => array( + 'classname' => 'core_course_external', + 'methodname' => 'fetch_modules_activity_chooser', + 'classpath' => 'course/externallib.php', + 'description' => 'Fetch all the module information for the activity picker', + 'type' => 'read', + 'ajax' => true, + ), 'core_enrol_get_course_enrolment_methods' => array( 'classname' => 'core_enrol_external', 'methodname' => 'get_course_enrolment_methods', @@ -2701,7 +2709,17 @@ $functions = array( 'description' => 'Drag and drop categories', 'type' => 'write', 'ajax' => 'true' - ) + ), + 'core_h5p_get_trusted_h5p_file' => [ + 'classname' => 'core_h5p\external', + 'methodname' => 'get_trusted_h5p_file', + 'classpath' => '', + 'description' => 'Get the H5P file cleaned for Mobile App.', + 'type' => 'read', + 'ajax' => 'true', + 'capabilities' => '', + 'services' => [MOODLE_OFFICIAL_MOBILE_SERVICE], + ], ); $services = array(