Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Files | Namespaces | Classes | Functions | Variables
message_airnotifier

Files

file  access.php
 Capability definitions for airnotifier.
 
file  externallib.php
 External functions.
 
file  install.php
 Airnotifier message processor installation code.
 
file  lib.php
 Callbacks for message_airnotifier.
 
file  manager.php
 Airnotifier manager class.
 
file  message_output_airnotifier.php
 Airnotifier message processor to send messages to the APNS provider: airnotfier.
 
file  provider.php
 Privacy class for requesting user data.
 
file  services.php
 Airnotifier external functions and service definitions.
 
file  settings.php
 Airnotifier configuration page.
 
file  version.php
 Airnotifier message processor version information.
 

Namespaces

namespace  message_airnotifier\privacy
  
 

Classes

class  message_airnotifier\privacy\provider
 Privacy class for requesting user data. More...
 
class  message_airnotifier_external
 
class  message_airnotifier_manager
 Airnotifier helper manager class. More...
 
class  message_output_airnotifier
 Message processor class. More...
 

Functions

 message_airnotifier_post_site_registration_confirmed (int $registrationid)
 Callback for when a site is first registered. More...
 
 xmldb_message_airnotifier_install ()
 Install the Airnotifier message processor.
 

Variables

 $capabilities
 
 $functions
 
 $plugin = 2020060900
 
$plugin component = 'message_airnotifier'
 
$plugin version = 2020061500
 

Detailed Description

Function Documentation

◆ message_airnotifier_post_site_registration_confirmed()

message_airnotifier_post_site_registration_confirmed ( int  $registrationid)

Callback for when a site is first registered.

The function generates an Airnotifier accesskey for the new site.

Parameters
int$registrationidthe new registration id (registration_hubs table)

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= array(
'message/airnotifier:managedevice' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
)
)
)
const CONTEXT_SYSTEM
System context level - only one instance in every system.
Definition: accesslib.php:122
const CAP_ALLOW
Allow permission, overrides CAP_PREVENT defined in parent contexts.
Definition: accesslib.php:115