◆ add_instance_data()
core_customfield_generator::add_instance_data |
( |
field_controller |
$field, |
|
|
int |
$instanceid, |
|
|
|
$value |
|
) |
| |
Adds instance data for one field.
- Parameters
-
field_controller | $field | |
int | $instanceid | |
mixed | $value | |
- Return values
-
◆ create_category()
core_customfield_generator::create_category |
( |
|
$record = null | ) |
|
Create a new category.
- Parameters
-
- Return values
-
◆ create_field()
core_customfield_generator::create_field |
( |
|
$record | ) |
|
Create a new field.
- Parameters
-
- Return values
-
◆ reset()
component_generator_base::reset |
( |
| ) |
|
|
inherited |
To be called from data reset code only, do not use in tests.
- Return values
-
Reimplemented in core_question_generator, core_notes_generator, mod_wiki_generator, mod_survey_generator, mod_lesson_generator, mod_glossary_generator, mod_forum_generator, mod_data_generator, mod_chat_generator, mod_book_generator, testing_repository_generator, testing_module_generator, testing_block_generator, core_competency_generator, and tool_dataprivacy_generator.
The documentation for this class was generated from the following file:
- customfield/tests/generator/lib.php