public function QuizfileuploadResponse::getFeedbackValues in Quiz File Upload 7.5
Implements getFeedbackValues().
File
- ./
quizfileupload.classes.inc, line 338 - File upload question class.
Class
- QuizfileuploadResponse
- Extension of QuizQuestionResponse.
Code
public function getFeedbackValues() {
$data = array();
// Hide the columns 'choice' and 'solution' as neither are really relevant
// for a fileupload question.
$data[] = array(
'choice' => NULL,
'attempt' => quiz_file_markup($this->answer),
'correct' => $this->question->answers[0]['is_correct'] ? quiz_icon('correct') : quiz_icon(''),
'score' => !$this->evaluated ? t('This answer has not yet been scored.') : $this
->getScore(),
'answer_feedback' => check_markup($this->answer_feedback, $this->answer_feedback_format),
'solution' => NULL,
);
return $data;
}