Renderable object containing all the information needed to display the submission.
More...
|
| anonymize () |
| Unsets all author-related properties so that the renderer does not have access to them.
|
|
| is_anonymous () |
| Does the submission object contain author-related information?
|
|
|
array | $attachment |
|
string | $authoralternatename |
|
string | $authoremail |
|
string | $authorfirstname |
|
string | $authorfirstnamephonetic |
|
int | $authorid |
|
string | $authorimagealt |
|
string | $authorlastname |
|
string | $authorlastnamephonetic |
|
string | $authormiddlename |
|
int | $authorpicture |
|
string | $content |
|
int | $contentformat |
|
bool | $contenttrust |
|
int | $id |
|
string | $status |
| graded|notgraded
|
|
int | $timecreated |
|
int | $timemodified |
|
string | $title |
|
moodle_url | $url |
| to display submission
|
|
|
bool | $anonymous |
| is the submission anonymous (i.e.
|
|
array | $fields |
| 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 submission.
- See also
- workshop_renderer\render_workshop_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_submission_base::is_anonymous |
( |
| ) |
|
|
inherited |
◆ $anonymous
bool workshop_submission_base::$anonymous |
|
protectedinherited |
is the submission anonymous (i.e.
contains author information)
◆ $fields
array workshop_submission::$fields |
|
protected |
Initial value:= array(
'id', 'title', 'timecreated', 'timemodified', 'content', 'contentformat', 'contenttrust',
'attachment', 'authorid', 'authorfirstname', 'authorlastname', 'authorfirstnamephonetic', 'authorlastnamephonetic',
'authormiddlename', 'authoralternatename', 'authorpicture', 'authorimagealt', 'authoremail')
of columns from workshop_submissions that are assigned as properties of instances of this class
The documentation for this class was generated from the following file: