public function QuizfileuploadResponse::getReportFormAnswerFeedback in Quiz File Upload 7.4
Same name and namespace in other branches
- 7.5 quizfileupload.classes.inc \QuizfileuploadResponse::getReportFormAnswerFeedback()
File
- ./
quizfileupload.classes.inc, line 406 - The main classes for the quizfileupload question type.
Class
- QuizfileuploadResponse
- Extension of QuizQuestionResponse
Code
public function getReportFormAnswerFeedback($showpoints = TRUE, $showfeedback = TRUE, $allow_scoring = FALSE) {
if (quiz_access_to_score() && $allow_scoring) {
return array(
'#title' => t('Enter feedback'),
'#type' => 'text_format',
'#default_value' => $this->answer_feedback,
'#format' => isset($this->answer_feedback_format) ? $this->answer_feedback_format : NULL,
'#attributes' => array(
'class' => array(
'quiz-report-score',
),
),
);
}
return FALSE;
}