main/exercice/oral_expression.class.php 1 location
|
@@ 63-78 (lines=16) @@
|
| 60 |
|
* @param null $score |
| 61 |
|
* @return null|string |
| 62 |
|
*/ |
| 63 |
|
function return_header($feedback_type = null, $counter = null, $score = null) |
| 64 |
|
{ |
| 65 |
|
$header = parent::return_header($feedback_type, $counter, $score); |
| 66 |
|
$header .= '<table class="'.$this->question_table_class.'"> |
| 67 |
|
<tr> |
| 68 |
|
<th> </th> |
| 69 |
|
</tr> |
| 70 |
|
<tr> |
| 71 |
|
<th>'.get_lang("Answer").'</th> |
| 72 |
|
</tr> |
| 73 |
|
<tr> |
| 74 |
|
<th> </th> |
| 75 |
|
</tr>'; |
| 76 |
|
|
| 77 |
|
return $header; |
| 78 |
|
} |
| 79 |
|
} |
| 80 |
|
|
main/exercice/fill_blanks.class.php 1 location
|
@@ 418-427 (lines=10) @@
|
| 415 |
|
* @param null $score |
| 416 |
|
* @return null|string |
| 417 |
|
*/ |
| 418 |
|
public function return_header($feedback_type = null, $counter = null, $score = null) |
| 419 |
|
{ |
| 420 |
|
$header = parent::return_header($feedback_type, $counter, $score); |
| 421 |
|
$header .= '<table class="'.$this->question_table_class .'"> |
| 422 |
|
<tr> |
| 423 |
|
<th>'.get_lang("Answer").'</th> |
| 424 |
|
</tr>'; |
| 425 |
|
|
| 426 |
|
return $header; |
| 427 |
|
} |
| 428 |
|
|
| 429 |
|
/** |
| 430 |
|
* @param $separatorStartRegexp |
main/exercice/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 |