MDL-57920 mod_data: New WS mod_data_search_entries

This commit is contained in:
Juan Leyva
2017-03-30 01:53:46 +02:00
committed by Eloy Lafuente (stronk7)
parent c8a804ff68
commit 56b8edcb1e
4 changed files with 267 additions and 1 deletions
+8
View File
@@ -75,4 +75,12 @@ $functions = array(
'capabilities' => 'mod/data:viewentry',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
),
'mod_data_search_entries' => array(
'classname' => 'mod_data_external',
'methodname' => 'search_entries',
'description' => 'Search for entries in the given database.',
'type' => 'read',
'capabilities' => 'mod/data:viewentry',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
),
);