See Release Notes
Long Term Support Release
(no description)
File Size: | 120 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
use_template_form:: (6 methods):
definition()
get_context_for_dynamic_submission()
check_access_for_dynamic_submission()
process_dynamic_submission()
set_data_for_dynamic_submission()
get_page_url_for_dynamic_submission()
Class: use_template_form - X-Ref
Prints the confirm use template formdefinition() X-Ref |
Define the form |
get_context_for_dynamic_submission() X-Ref |
Returns context where this form is used return: context |
check_access_for_dynamic_submission() X-Ref |
Checks if current user has access to this form, otherwise throws exception |
process_dynamic_submission() X-Ref |
Process the form submission, used if form was submitted via AJAX return: array Returns the following information |
set_data_for_dynamic_submission() X-Ref |
Load in existing data as form defaults |
get_page_url_for_dynamic_submission() X-Ref |
Returns url to set in $PAGE->set_url() when form is being rendered or submitted via AJAX return: moodle_url |