MDL-54698 message: make preferences page ajax save

This commit is contained in:
Ryan Wyllie
2016-10-07 16:26:40 +08:00
committed by Mark Nelson
parent a0e358a64a
commit a0eabdd3c8
15 changed files with 1618 additions and 262 deletions
+18
View File
@@ -740,6 +740,14 @@ $functions = array(
'type' => 'write',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
),
'core_message_message_processor_config_form' => array(
'classname' => 'core_message_external',
'methodname' => 'message_processor_config_form',
'classpath' => 'message/externallib.php',
'description' => 'Process the message processor config form',
'type' => 'write',
'ajax' => true,
),
'core_message_search_contacts' => array(
'classname' => 'core_message_external',
'methodname' => 'search_contacts',
@@ -968,6 +976,15 @@ $functions = array(
'type' => 'write',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
),
'core_user_update_user' => array(
'classname' => 'core_user_external',
'methodname' => 'update_user',
'classpath' => 'user/externallib.php',
'description' => 'Update logged in user',
'type' => 'write',
'capabilities' => 'moodle/user:update',
'ajax' => true,
),
'core_user_update_users' => array(
'classname' => 'core_user_external',
'methodname' => 'update_users',
@@ -975,6 +992,7 @@ $functions = array(
'description' => 'Update users.',
'type' => 'write',
'capabilities' => 'moodle/user:update',
'ajax' => true,
),
'core_user_view_user_list' => array(
'classname' => 'core_user_external',