Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Public Member Functions | |
create_category ($record=null) | |
Create a new category. More... | |
create_purpose ($record=null) | |
Create a new purpose. More... | |
reset () | |
Reset process. More... | |
Protected Attributes | |
int | $categorycount = 0 |
Number of created categories. | |
testing_data_generator | $datagenerator |
int | $purposecount = 0 |
Number of created purposes. | |
tool_dataprivacy_generator::create_category | ( | $record = null | ) |
Create a new category.
array | stdClass | $record |
category |
tool_dataprivacy_generator::create_purpose | ( | $record = null | ) |
Create a new purpose.
array | stdClass | $record |
purpose |
tool_dataprivacy_generator::reset | ( | ) |
Reset process.
Do not call directly.
void |
Reimplemented from component_generator_base.