[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Airnotifier manager class
Copyright: | 2012 Jerome Mouneyrac <jerome@moodle.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 189 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
message_airnotifier_manager:: (5 methods):
include_device_ajax()
get_user_devices()
request_accesskey()
create_token()
is_system_configured()
Class: message_airnotifier_manager - X-Ref
Airnotifier helper manager classinclude_device_ajax() X-Ref |
Include the relevant javascript and language strings for the device toolbox YUI module return: bool |
get_user_devices($appname, $userid = null) X-Ref |
Return the user devices for a specific app. param: string $appname the app name . param: int $userid if empty take the current user. return: array all the devices |
request_accesskey() X-Ref |
Request and access key to Airnotifier return: mixed The access key or false in case of error |
create_token($token) X-Ref |
Create a device token in the Airnotifier instance param: string $token The token to be created return: bool True if all was right |
is_system_configured() X-Ref |
Tests whether the airnotifier settings have been configured return: boolean true if airnotifier is configured |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |