Form for manipulating with the template records.
More...
|
static string | $persistentclass = 'quizaccess_seb\\template' |
| Persistent class name.
|
|
Form for manipulating with the template records.
- Copyright
- 2020 Catalyst IT
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ extra_validation()
quizaccess_seb\local\form\template::extra_validation |
( |
|
$data, |
|
|
|
$files, |
|
|
array & |
$errors |
|
) |
| |
|
protected |
Extra validation.
- Parameters
-
stdClass | $data | Data to validate. |
array | $files | Array of files. |
array | $errors | Currently reported errors. |
- Return values
-
array | of 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 | $data | The data to filter the fields out of. |
- Return values
-
The documentation for this class was generated from the following file: