See Release Notes
Long Term Support Release
Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 401 and 402] [Versions 401 and 403]
External functions
Copyright: | 2012 Jerome Mouneyrac <jerome@moodle.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 384 lines (14 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
message_airnotifier_external:: (12 methods):
is_system_configured_parameters()
is_system_configured()
is_system_configured_returns()
are_notification_preferences_configured_parameters()
are_notification_preferences_configured()
are_notification_preferences_configured_returns()
get_user_devices_parameters()
get_user_devices()
get_user_devices_returns()
enable_device_parameters()
enable_device()
enable_device_returns()
Class: message_airnotifier_external - X-Ref
External API for airnotifier web servicesis_system_configured_parameters() X-Ref |
Returns description of method parameters |
is_system_configured() X-Ref |
Tests whether the airnotifier settings have been configured |
is_system_configured_returns() X-Ref |
Returns description of method result value return: external_single_structure |
are_notification_preferences_configured_parameters() X-Ref |
Returns description of method parameters |
are_notification_preferences_configured($userids) X-Ref |
Check if the users have notification preferences configured for the airnotifier plugin param: array $userids Array of user ids |
are_notification_preferences_configured_returns() X-Ref |
Returns description of method result value return: external_single_structure |
get_user_devices_parameters() X-Ref |
Returns description of method parameters |
get_user_devices($appid, $userid = 0) X-Ref |
Return the list of mobile devices that are registered in Moodle for the given user. param: string $appid app unique id (usually a reversed domain) param: integer $userid the user id, 0 for current user return: array warnings and devices |
get_user_devices_returns() X-Ref |
Returns description of method result value return: external_single_structure |
enable_device_parameters() X-Ref |
Returns description of method parameters |
enable_device($deviceid, $enable) X-Ref |
Enables or disables a registered user device so it can receive Push notifications param: integer $deviceid the device id param: bool $enable whether to enable the device return: array warnings and success status |
enable_device_returns() X-Ref |
Returns description of method result value return: external_single_structure |