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

@ -255,6 +255,7 @@ class icon_system_fontawesome extends icon_system_font {
'core:i/menubars' => 'fa-bars',
'core:i/mnethost' => 'fa-external-link',
'core:i/moodle_host' => 'fa-graduation-cap',
'core:i/moremenu' => 'fa-ellipsis-h',
'core:i/move_2d' => 'fa-arrows',
'core:i/navigationitem' => 'fa-fw',
'core:i/ne_red_mark' => 'fa-remove',
@ -296,6 +297,7 @@ class icon_system_fontawesome extends icon_system_font {
'core:i/settings' => 'fa-cog',
'core:i/show' => 'fa-eye-slash',
'core:i/siteevent' => 'fa-globe',
'core:i/star' => 'fa-star',
'core:i/star-rating' => 'fa-star',
'core:i/stats' => 'fa-line-chart',
'core:i/switch' => 'fa-exchange',

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
)
);