Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: