Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Represents a renderable reference assessment of an example submission. More...
Public Member Functions | |
add_action (moodle_url $url, $label, $method='get') | |
Adds a new action. More... | |
get_overall_feedback_attachments () | |
Prepares the list of overall feedback attachments. More... | |
get_overall_feedback_content () | |
Format the overall feedback text content. More... | |
Public Attributes | |
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 |
Protected Member Functions | |
validate_raw_record (stdClass $record) | |
Protected Attributes | |
array | $fields |
Represents a renderable reference assessment of an example submission.
|
inherited |
Adds a new action.
moodle_url | $url | action URL |
string | $label | action label |
string | $method | get|post |
|
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).
bool|array | of stdClass |
|
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.
string|bool|null |
|
protected |
Reimplemented from workshop_assessment_base.
|
protectedinherited |