Renderable object containing all the information needed to display the example submission.
More...
|
| | anonymize () |
| | Unsets all author-related properties so that the renderer does not have access to them.
|
| |
| | is_anonymous () |
| | Example submissions are always anonymous.
|
| |
|
|
string | $assesslabel |
| |
|
moodle_url | $assessurl |
| |
|
array | $attachment |
| |
|
string | $content |
| |
|
int | $contentformat |
| |
|
bool | $contenttrust |
| |
|
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 |
| |
|
| 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.
- See also
- workshop_renderer::render_workshop_example_submission()
◆ anonymize()
| workshop_submission_base::anonymize |
( |
| ) |
|
|
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.
◆ is_anonymous()
| workshop_example_submission_summary::is_anonymous |
( |
| ) |
|
|
inherited |
◆ $anonymous
| bool workshop_submission_base::$anonymous |
|
protectedinherited |
is the submission anonymous (i.e.
contains author information)
The documentation for this class was generated from the following file:
- mod/workshop/locallib.php