Represents a renderable reference assessment of an example submission.
More...
|
array | $actions = array() |
| of actions
|
|
stdClass null | $author = null |
| assessed submission's author user info
|
|
string | $feedbackauthor |
|
int | $feedbackauthorattachment |
|
int | $feedbackauthorformat |
|
workshop_assessment_form | $form |
| $form as returned by workshop_strategy::get_assessment_form()
|
|
float | $grade |
|
float | $gradinggrade |
|
float | $gradinggradeover |
|
int | $id |
|
float | $maxgrade |
| the real maximum grade
|
|
float null | $realgrade = null |
| the real received grade
|
|
stdClass null | $reviewer = null |
| reviewer user info
|
|
int | $submissionid |
|
int | $timecreated |
|
int | $timemodified |
|
string | $title = '' |
| the optional title of the assessment
|
|
moodle_url | $url |
|
int | $weight |
|
workshop | $workshop |
|
Represents a renderable reference assessment of an example submission.
◆ add_action()
workshop_assessment_base::add_action |
( |
moodle_url |
$url, |
|
|
|
$label, |
|
|
|
$method = 'get' |
|
) |
| |
|
inherited |
Adds a new action.
- Parameters
-
moodle_url | $url | action URL |
string | $label | action label |
string | $method | get|post |
◆ get_overall_feedback_attachments()
workshop_assessment::get_overall_feedback_attachments |
( |
| ) |
|
|
inherited |
Prepares the list of overall feedback attachments.
Returns false if overall feedback attachments are not allowed. Otherwise returns list of attachments (may be empty).
- Return values
-
◆ get_overall_feedback_content()
workshop_assessment::get_overall_feedback_content |
( |
| ) |
|
|
inherited |
Format the overall feedback text content.
False is returned if the overall feedback feature is disabled. Null is returned if the overall feedback content has not been found. Otherwise, string with formatted feedback text is returned.
- Return values
-
◆ validate_raw_record()
workshop_example_reference_assessment::validate_raw_record |
( |
stdClass |
$record | ) |
|
|
protected |
◆ $fields
array workshop_assessment::$fields |
|
protectedinherited |
Initial value:= array('id', 'submissionid', 'weight', 'timecreated',
'timemodified', 'grade', 'gradinggrade', 'gradinggradeover', 'feedbackauthor',
'feedbackauthorformat', 'feedbackauthorattachment')
The documentation for this class was generated from the following file: