Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Public Member Functions | |
create_instance ($record=null) | |
Create a new note. More... | |
reset () | |
To be called from data reset code only, do not use in tests. More... | |
Protected Attributes | |
testing_data_generator | $datagenerator |
number | $instancecount = 0 |
of created instances | |
core_notes_generator::create_instance | ( | $record = null | ) |
Create a new note.
array | stdClass | $record |
coding_exception |
stdClass | activity record with extra cmid field |
core_notes_generator::reset | ( | ) |
To be called from data reset code only, do not use in tests.
void |
Reimplemented from component_generator_base.