Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Class: setting_validator  - X-Ref

Helper class for validating settings used HTML for settings.php.

section_general_shown()   X-Ref
Validate if general section will be shown.

return: bool

section_default_messages_shown()   X-Ref
Validate if default messages section will be shown.

return: bool

section_record_meeting_shown()   X-Ref
Validate if record meeting section  will be shown.

return: bool

section_import_recordings_shown()   X-Ref
Validate if import recording section will be shown.

return: bool

section_show_recordings_shown()   X-Ref
Validate if show recording section will be shown.

return: bool

section_wait_moderator_shown()   X-Ref
Validate if wait moderator section will be shown.

return: bool

section_static_voice_bridge_shown()   X-Ref
Validate if static voice bridge section will be shown.

return: bool

section_preupload_presentation_shown()   X-Ref
Validate if preupload presentation section will be shown.

return: bool

section_user_limit_shown()   X-Ref
Validate if user limit section will be shown.

return: bool

section_moderator_default_shown()   X-Ref
Validate if moderator default section will be shown.

return: bool

section_settings_extended_shown()   X-Ref
Validate if settings extended section will be shown.

return: bool

section_muteonstart_shown()   X-Ref
Validate if muteonstart section will be shown.

return: bool

section_disablecam_shown()   X-Ref
Validate if disablecam section will be shown.

return: bool

section_disablemic_shown()   X-Ref
Validate if disablemic section will be shown.

return: bool

section_disableprivatechat_shown()   X-Ref
Validate if disableprivatechat section will be shown.

return: bool

section_disablepublicchat_shown()   X-Ref
Validate if disablepublicchat section will be shown.

return: bool

section_disablenote_shown()   X-Ref
Validate if disablenote section will be shown.

return: bool

section_hideuserlist_shown()   X-Ref
Validate if hideuserlist section will be shown.

return: bool

section_lock_shown()   X-Ref
Validate that session lock settings is shown or not

return: bool