Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
quizaccess_seb\local\form\template Class Reference

Form for manipulating with the template records. More...

Inheritance diagram for quizaccess_seb\local\form\template:

Protected Member Functions

 definition ()
 Form definition.
 
 extra_validation ($data, $files, array &$errors)
 Extra validation.
 
 filter_data_for_persistent ($data)
 Filter out the foreign fields of the persistent.
 

Static Protected Attributes

static string $persistentclass = 'quizaccess_seb\\template'
 Persistent class name.
 

Detailed Description

Form for manipulating with the template records.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ extra_validation()

quizaccess_seb\local\form\template::extra_validation ( $data,
$files,
array & $errors )
protected

Extra validation.

Parameters
stdClass$dataData to validate.
array$filesArray of files.
array$errorsCurrently reported errors.
Return values
arrayof additional errors, or overridden errors.

◆ filter_data_for_persistent()

quizaccess_seb\local\form\template::filter_data_for_persistent ( $data)
protected

Filter out the foreign fields of the persistent.

Parameters
stdClass$dataThe data to filter the fields out of.
Return values
stdClass.

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