Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
core_communication\communication_provider Interface Reference
Inheritance diagram for core_communication\communication_provider:
communication_customlink\communication_feature communication_matrix\communication_feature

Static Public Member Functions

static is_configured ()
 Check if the provider is configured or not.
 
static load_for_instance (processor $communication)
 A base communication provider.
 

Member Function Documentation

◆ is_configured()

static core_communication\communication_provider::is_configured ( )
static

Check if the provider is configured or not.

This method is intended to check if the plugin have got any settings and if all the settings are set properly. This checking helps to reduce errors in future when a communication instance is added for the provider and not configured.

Implemented in communication_customlink\communication_feature, and communication_matrix\communication_feature.

◆ load_for_instance()

static core_communication\communication_provider::load_for_instance ( processor $communication)
static

A base communication provider.

Parameters
processor$communicationThe communication object

Implemented in communication_customlink\communication_feature, and communication_matrix\communication_feature.


The documentation for this interface was generated from the following file: