mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
MDL-57915 mod_data: New Web Service mod_data_view_database
This commit is contained in:
parent
023ffa656d
commit
9fac7c8640
4 changed files with 161 additions and 2 deletions
|
@ -34,5 +34,13 @@ $functions = array(
|
|||
'type' => 'read',
|
||||
'capabilities' => 'mod/data:viewentry',
|
||||
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
|
||||
)
|
||||
),
|
||||
'mod_data_view_database' => array(
|
||||
'classname' => 'mod_data_external',
|
||||
'methodname' => 'view_database',
|
||||
'description' => 'Simulate the view.php web interface data: trigger events, completion, etc...',
|
||||
'type' => 'write',
|
||||
'capabilities' => 'mod/data:viewentry',
|
||||
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue