Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
Renderable object containing a basic set of information needed to display the example submission summary. 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. | |
Public Attributes | |
string | $assesslabel |
moodle_url | $assessurl |
bool | $editable = false |
must be set explicitly by the caller | |
moodle_url | $editurl |
stdClass | $gradeinfo |
int | $id |
string | $status |
graded|notgraded | |
string | $title |
moodle_url | $url |
Protected Attributes | |
bool | $anonymous |
is the submission anonymous (i.e. | |
array | $fields = array('id', 'title') |
of columns from workshop_submissions that are assigned as properties of instances of this class | |
workshop | $workshop |
Renderable object containing a basic set of information needed to display the example submission summary.
|
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.
workshop_example_submission_summary::is_anonymous | ( | ) |
Example submissions are always anonymous.
true |
Reimplemented from workshop_submission_base.
|
protectedinherited |
is the submission anonymous (i.e.
contains author information)