Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250711) (9addea9f0ac)
|
Renderable object containing all the information needed to display the example submission. More...
Public Member Functions | |
anonymize () | |
Unsets all author-related properties so that the renderer does not have access to them. | |
is_anonymous () | |
Example submissions are always anonymous. | |
Protected Attributes | |
bool | $anonymous |
is the submission anonymous (i.e. | |
array | $fields = array('id', 'title', 'content', 'contentformat', 'contenttrust', 'attachment') |
of columns from workshop_submissions that are assigned as properties of instances of this class | |
workshop | $workshop |
Renderable object containing all the information needed to display the example submission.
|
inherited |
Unsets all author-related properties so that the renderer does not have access to them.
Usually this is called by the contructor but can be called explicitely, too.
|
inherited |
Example submissions are always anonymous.
true |
Reimplemented from workshop_submission_base.
|
protectedinherited |
is the submission anonymous (i.e.
contains author information)