Renderable object containing a basic set of information needed to display the submission summary.
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?
|
|
|
string | $authoralternatename |
|
string | $authoremail |
|
string | $authorfirstname |
|
string | $authorfirstnamephonetic |
|
int | $authorid |
|
string | $authorimagealt |
|
string | $authorlastname |
|
string | $authorlastnamephonetic |
|
string | $authormiddlename |
|
int | $authorpicture |
|
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 a basic set of information needed to display the submission summary.
- See also
- workshop_renderer\render_workshop_submission_summary
◆ 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_summary::$fields |
|
protected |
Initial value:= array(
'id', 'title', 'timecreated', 'timemodified',
'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:
- mod/workshop/locallib.php