MDL-49409 mod_data: New Web Service mod_data_get_entries

This commit is contained in:
Juan Leyva
2017-03-21 23:03:01 +01:00
parent 5b901787db
commit ef6aea9db8
3 changed files with 340 additions and 2 deletions
+8
View File
@@ -51,4 +51,12 @@ $functions = array(
'capabilities' => 'mod/data:viewentry',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
),
'mod_data_get_entries' => array(
'classname' => 'mod_data_external',
'methodname' => 'get_entries',
'description' => 'Return the complete list of entries of the given database.',
'type' => 'read',
'capabilities' => 'mod/data:viewentry',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
),
);