MDL-37100 webservices: Define core_calendar_get_calendar_events() api

This commit is contained in:
Ankit Agarwal 2012-12-17 10:59:33 +08:00
parent 7c30224aeb
commit 793d38552a

View File

@ -710,6 +710,16 @@ $functions = array(
'capabilities'=> 'moodle/calendar:manageentries', 'moodle/calendar:manageownentries', 'moodle/calendar:managegroupentries'
),
'core_calendar_get_calendar_events' => array(
'classname' => 'core_calendar_external',
'methodname' => 'get_calendar_events',
'description' => 'Get calendar events',
'classpath' => 'calendar/externallib.php',
'type' => 'read',
'capabilities'=> 'moodle/calendar:manageentries', 'moodle/calendar:manageownentries', 'moodle/calendar:managegroupentries'
),
);
$services = array(