function return_header($feedback_type = null, $counter = null, $score = null) { if (!empty($score['comments']) || $score['score'] > 0) { $score['revised'] = true; } else { $score['revised'] = false; } $header = parent::return_header($feedback_type, $counter, $score); $header .= '<table class="' . $this->question_table_class . '" > <tr> <th>' . get_lang("Answer") . '</th> </tr>'; return $header; }
/** * {@inheritdoc} */ function return_header($feedback_type = null, $counter = null, $score = null, $show_media = false, $hideTitle = 0) { $header = parent::return_header($feedback_type, $counter, $score, $show_media, $hideTitle); $header .= '<table class="' . $this->question_table_class . '"> <tr> <th> </th> </tr> <tr> <th>' . get_lang("Answer") . '</th> </tr> <tr> <th> </th> </tr>'; return $header; }
function return_header($feedback_type = null, $counter = null, $score = null) { $header = parent::return_header($feedback_type, $counter, $score); $header .= '<table class="' . $this->question_table_class . '"> <tr> <th>' . get_lang("Choice") . '</th> <th>' . get_lang("ExpectedChoice") . '</th> <th>' . get_lang("Answer") . '</th>'; $header .= '<th>' . get_lang("Comment") . '</th>'; $header .= '</tr>'; return $header; }
/** * {@inheritdoc} */ function return_header($feedback_type = null, $counter = null, $score = null, $show_media = false, $hideTitle = 0) { $header = parent::return_header($feedback_type, $counter, $score, $show_media, $hideTitle); $header .= '<table class="' . $this->question_table_class . '"> <tr> <th>' . get_lang("Choice") . '</th> <th>' . get_lang("ExpectedChoice") . '</th> <th>' . get_lang("Answer") . '</i></th>'; if ($feedback_type != EXERCISE_FEEDBACK_TYPE_EXAM) { $header .= '<th>' . get_lang("Comment") . '</th>'; } else { $header .= '<th> </th>'; } $header .= '</tr>'; return $header; }
/** * @param null $feedback_type * @param null $counter * @param null $score * @return string */ public function return_header($feedback_type = null, $counter = null, $score = null) { $header = parent::return_header($feedback_type, $counter, $score); $header .= '<table class="' . $this->question_table_class . '">'; $header .= '<tr> <th>' . get_lang('ElementList') . '</th> <th>' . get_lang('CorrespondsTo') . '</th> </tr>'; return $header; }
/** * {@inheritdoc} */ function return_header($feedback_type = null, $counter = null, $score = null, $show_media = false, $hideTitle = 0) { $header = parent::return_header($feedback_type, $counter, $score, $show_media, $hideTitle); if ($this->type == MATCHING) { $header .= '<table class="' . $this->question_table_class . '">'; $header .= '<tr> <th>' . get_lang('ElementList') . '</th> <th>' . get_lang('CorrespondsTo') . '</th> </tr>'; } return $header; }