Search moodle.org's
Developer Documentation

See Release Notes

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

Differences Between: [Versions 400 and 402]

(no description)

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

Defines 1 class


Class: condition  - X-Ref

Dynamic condition form

get_report()   X-Ref
Return instance of the report using the condition form

return: base

get_context_for_dynamic_submission()   X-Ref
Return the context for the form, it should be that of the system report itself

return: context

check_access_for_dynamic_submission()   X-Ref
Ensure current user is able to use this form

A {@see \core_reportbuilder\report_access_exception} will be thrown if they can't

process_dynamic_submission()   X-Ref
Process the form submission

return: bool

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


get_page_url_for_dynamic_submission()   X-Ref
URL of the page using this form

return: moodle_url

definition()   X-Ref
Condition form definition