MDL-57918 mod_data: New WS mod_data_get_entry

This commit is contained in:
Juan Leyva
2017-03-24 15:19:46 +01:00
parent 8077107565
commit 771effef8d
5 changed files with 228 additions and 10 deletions
+8
View File
@@ -59,4 +59,12 @@ $functions = array(
'capabilities' => 'mod/data:viewentry',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
),
'mod_data_get_entry' => array(
'classname' => 'mod_data_external',
'methodname' => 'get_entry',
'description' => 'Return one entry record from the database, including contents optionally.',
'type' => 'read',
'capabilities' => 'mod/data:viewentry',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
),
);