Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

(no description)

File Size: 45 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

communication_provider:: (2 methods):
  load_for_instance()
  is_configured()


Interface: communication_provider  - X-Ref

A base communication provider.

This interface should be used to declare support for the instantiation method for communication providers.

Every communication provider must, as a minimum, implement this provider.

load_for_instance(processor $communication)   X-Ref
A base communication provider.

param: processor $communication The communication object

is_configured()   X-Ref
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.