Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Interface form_provider to manage communication provider form options from provider plugins. More...
Public Member Functions | |
save_form_data (\stdClass $instance) | |
Set the form data to the instance if any data is available. | |
set_form_data (\stdClass $instance) | |
Set the form data to the instance if any data is available. | |
Static Public Member Functions | |
static | set_form_definition (\MoodleQuickForm $mform) |
Set the form definitions. | |
Interface form_provider to manage communication provider form options from provider plugins.
Every provider plugin should implement this class to return the implemented form elements for custom data.
core_communication\form_provider::save_form_data | ( | \stdClass | $instance | ) |
Set the form data to the instance if any data is available.
stdClass | $instance | The actual instance to set the data |
Implemented in communication_customlink\communication_feature, and communication_matrix\communication_feature.
core_communication\form_provider::set_form_data | ( | \stdClass | $instance | ) |
Set the form data to the instance if any data is available.
stdClass | $instance | The actual instance to set the data |
Implemented in communication_customlink\communication_feature, and communication_matrix\communication_feature.
|
static |
Set the form definitions.
MoodleQuickForm | $mform | The form object |
Implemented in communication_customlink\communication_feature, and communication_matrix\communication_feature.