Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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 = 2024041600
 
$plugin component = 'message_airnotifier'
 
$plugin version = 2024042200
 

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