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.

(no description)

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

Defines 1 class

attempts_report_options_form:: (6 methods):
  definition()
  standard_attempt_fields()
  other_attempt_fields()
  standard_preference_fields()
  other_preference_fields()
  validation()


Class: attempts_report_options_form  - X-Ref

Base class for the settings form for {@see attempts_report}s.

definition()   X-Ref
No description

standard_attempt_fields(MoodleQuickForm $mform)   X-Ref
Add the standard form fields for selecting which attempts to include in the report.

param: MoodleQuickForm $mform the form we are building.

other_attempt_fields(MoodleQuickForm $mform)   X-Ref
Extension point to allow subclasses to add their own fields in the attempts section.

param: MoodleQuickForm $mform the form we are building.

standard_preference_fields(MoodleQuickForm $mform)   X-Ref
Add the standard options fields to the form.

param: MoodleQuickForm $mform the form we are building.

other_preference_fields(MoodleQuickForm $mform)   X-Ref
Extension point to allow subclasses to add their own fields in the options section.

param: MoodleQuickForm $mform the form we are building.

validation($data, $files)   X-Ref
No description