Search moodle.org's
Developer Documentation

See Release Notes

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

(no description)

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

Defines 1 class

mod_form_addons:: (3 methods):
  __construct()
  completion_rule_enabled()
  definition_after_data()


Class: mod_form_addons  - X-Ref

A class for the main mod form extension

__construct(\MoodleQuickForm &$mform, ?stdClass $bigbluebuttonbndata = null, string $suffix = null)   X-Ref
Constructor

param: \MoodleQuickForm $mform
param: stdClass|null $bigbluebuttonbndata
param: string|null $suffix

completion_rule_enabled(array $data)   X-Ref
Called during validation. Override to indicate, based on the data, whether
a custom completion rule is enabled (selected).

param: array $data Input data (not yet validated)
return: bool True if one or more rules is enabled, false if none are;

definition_after_data()   X-Ref
Form adjustments after setting data

return: void