Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
tool_mfa\local\form\global_form_manager Class Reference

Public Member Functions

 __construct ()
 Create an instance of this class.
 
 definition (\MoodleQuickForm &$mform)
 Hook point for global auth form action hooks.
 
 definition_after_data (\MoodleQuickForm &$mform)
 Hook point for global auth form action hooks.
 
 submit (\stdClass $data)
 Hook point for global auth form submission hooks.
 
 validation (array $data, array $files)
 Hook point for global auth form action hooks.
 

Member Function Documentation

◆ definition()

tool_mfa\local\form\global_form_manager::definition ( \MoodleQuickForm & $mform)

Hook point for global auth form action hooks.

Parameters
MoodleQuickForm$mformForm to inject global elements into.
Return values
void

◆ definition_after_data()

tool_mfa\local\form\global_form_manager::definition_after_data ( \MoodleQuickForm & $mform)

Hook point for global auth form action hooks.

Parameters
MoodleQuickForm$mformForm to inject global elements into.
Return values
void

◆ submit()

tool_mfa\local\form\global_form_manager::submit ( \stdClass $data)

Hook point for global auth form submission hooks.

Parameters
stdClass$dataData from the form.
Return values
void

◆ validation()

tool_mfa\local\form\global_form_manager::validation ( array $data,
array $files )

Hook point for global auth form action hooks.

Parameters
array$dataData from the form.
array$filesFiles form the form.
Return values
arrayof errors from validation.

The documentation for this class was generated from the following file: