Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
message_airnotifier

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.
 
 xmldb_message_airnotifier_install ()
 Install the Airnotifier message processor.
 

Variables

 $capabilities
 
 $functions
 
 $plugin = 2023041800
 
$plugin component = 'message_airnotifier'
 
$plugin version = 2023042400
 

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.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Since
Moodle 3.9 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

◆ $functions

$functions
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later