main/exercise/calculated_answer.class.php 1 location
|
@@ 249-257 (lines=9) @@
|
| 246 |
|
* @param null $score |
| 247 |
|
* @return null|string |
| 248 |
|
*/ |
| 249 |
|
public function return_header($feedback_type = null, $counter = null, $score = null) |
| 250 |
|
{ |
| 251 |
|
$header = parent::return_header($feedback_type, $counter, $score); |
| 252 |
|
$header .= '<table class="'.$this->question_table_class .'"> |
| 253 |
|
<tr> |
| 254 |
|
<th>'.get_lang("Answer").'</th> |
| 255 |
|
</tr>'; |
| 256 |
|
return $header; |
| 257 |
|
} |
| 258 |
|
|
| 259 |
|
/** |
| 260 |
|
* Returns true if the current question has been attempted to be answered |
main/exercise/oral_expression.class.php 1 location
|
@@ 70-85 (lines=16) @@
|
| 67 |
|
* @param null $score |
| 68 |
|
* @return null|string |
| 69 |
|
*/ |
| 70 |
|
function return_header($feedback_type = null, $counter = null, $score = null) |
| 71 |
|
{ |
| 72 |
|
$header = parent::return_header($feedback_type, $counter, $score); |
| 73 |
|
$header .= '<table class="'.$this->question_table_class.'"> |
| 74 |
|
<tr> |
| 75 |
|
<th> </th> |
| 76 |
|
</tr> |
| 77 |
|
<tr> |
| 78 |
|
<th>'.get_lang("Answer").'</th> |
| 79 |
|
</tr> |
| 80 |
|
<tr> |
| 81 |
|
<th> </th> |
| 82 |
|
</tr>'; |
| 83 |
|
|
| 84 |
|
return $header; |
| 85 |
|
} |
| 86 |
|
|
| 87 |
|
/** |
| 88 |
|
* initialize the attributes to generate the file path |
main/exercise/fill_blanks.class.php 1 location
|
@@ 477-486 (lines=10) @@
|
| 474 |
|
* @param null $score |
| 475 |
|
* @return string |
| 476 |
|
*/ |
| 477 |
|
public function return_header($feedback_type = null, $counter = null, $score = null) |
| 478 |
|
{ |
| 479 |
|
$header = parent::return_header($feedback_type, $counter, $score); |
| 480 |
|
$header .= '<table class="'.$this->question_table_class .'"> |
| 481 |
|
<tr> |
| 482 |
|
<th>'.get_lang("Answer").'</th> |
| 483 |
|
</tr>'; |
| 484 |
|
|
| 485 |
|
return $header; |
| 486 |
|
} |
| 487 |
|
|
| 488 |
|
/** |
| 489 |
|
* @param string $separatorStartRegexp |