Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

(no description)

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

Defines 1 class


Class: contactdpo  - X-Ref

Contact DPO modal form

definition()   X-Ref
Form definition


get_context_for_dynamic_submission()   X-Ref
Return form context

return: context

check_access_for_dynamic_submission()   X-Ref
Check if current user has access to this form, otherwise throw exception


process_dynamic_submission()   X-Ref
Process the form submission, used if form was submitted via AJAX

return: array

set_data_for_dynamic_submission()   X-Ref
Load in existing data as form defaults (not applicable)


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