MDL-63058 block_myoverview: starring and storing preferences

This commit is contained in:
Bas Brands 2018-10-20 17:53:35 +02:00
parent b81722e22f
commit 3cfff88516
39 changed files with 1403 additions and 101 deletions

View file

@ -2241,6 +2241,14 @@ $functions = array(
'description' => 'Returns the filters available in the given contexts.',
'type' => 'read',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
),
'core_course_set_favourite_courses' => array(
'classname' => 'core_course_external',
'methodname' => 'set_favourite_courses',
'classpath' => 'course/externallib.php',
'description' => 'Add a list of courses to the list of favourite courses.',
'type' => 'read',
'ajax' => true
)
);