Configure communication for a given instance - the form definition.
Copyright: | 2023 David Woloszyn <david.woloszyn@moodle.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 140 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
configure_form:: (3 methods):
__construct()
definition()
set_form_definition_for_provider()
Class: configure_form - X-Ref
Defines the configure communication form.__construct(context $context,?int $instanceid = null,?string $instancetype = null,?string $component = null,?string $selectedcommunication = null,?stdClass $instancedata = null,) X-Ref |
Class constructor param: context $context Context object param: int|null $instanceid Instance ID param: string|null $instancetype Instance type param: string|null $component Component name param: string|null $selectedcommunication Selected communication service (provider) param: stdClass|null $instancedata Instance data |
definition() X-Ref |
Defines the form fields. |
set_form_definition_for_provider() X-Ref |
Defines the requested/current provider Get the selected communication service (provider), and then use it to show the provider form fields. |