| @@ 4463-4493 (lines=31) @@ | ||
| 4460 | case UNIQUE_ANSWER_NO_OPTION: |
|
| 4461 | case MULTIPLE_ANSWER: |
|
| 4462 | case GLOBAL_MULTIPLE_ANSWER : |
|
| 4463 | case MULTIPLE_ANSWER_COMBINATION: |
|
| 4464 | if ($answerId == 1) { |
|
| 4465 | ExerciseShowFunctions::display_unique_or_multiple_answer( |
|
| 4466 | $feedback_type, |
|
| 4467 | $answerType, |
|
| 4468 | $studentChoice, |
|
| 4469 | $answer, |
|
| 4470 | $answerComment, |
|
| 4471 | $answerCorrect, |
|
| 4472 | $exeId, |
|
| 4473 | $questionId, |
|
| 4474 | $answerId, |
|
| 4475 | $results_disabled, |
|
| 4476 | $showTotalScoreAndUserChoices |
|
| 4477 | ); |
|
| 4478 | } else { |
|
| 4479 | ExerciseShowFunctions::display_unique_or_multiple_answer( |
|
| 4480 | $feedback_type, |
|
| 4481 | $answerType, |
|
| 4482 | $studentChoice, |
|
| 4483 | $answer, |
|
| 4484 | $answerComment, |
|
| 4485 | $answerCorrect, |
|
| 4486 | $exeId, |
|
| 4487 | $questionId, |
|
| 4488 | '', |
|
| 4489 | $results_disabled, |
|
| 4490 | $showTotalScoreAndUserChoices |
|
| 4491 | ); |
|
| 4492 | } |
|
| 4493 | break; |
|
| 4494 | case MULTIPLE_ANSWER_COMBINATION_TRUE_FALSE: |
|
| 4495 | if ($answerId == 1) { |
|
| 4496 | ExerciseShowFunctions::display_multiple_answer_combination_true_false( |
|
| @@ 4494-4524 (lines=31) @@ | ||
| 4491 | ); |
|
| 4492 | } |
|
| 4493 | break; |
|
| 4494 | case MULTIPLE_ANSWER_COMBINATION_TRUE_FALSE: |
|
| 4495 | if ($answerId == 1) { |
|
| 4496 | ExerciseShowFunctions::display_multiple_answer_combination_true_false( |
|
| 4497 | $feedback_type, |
|
| 4498 | $answerType, |
|
| 4499 | $studentChoice, |
|
| 4500 | $answer, |
|
| 4501 | $answerComment, |
|
| 4502 | $answerCorrect, |
|
| 4503 | $exeId, |
|
| 4504 | $questionId, |
|
| 4505 | $answerId, |
|
| 4506 | $results_disabled, |
|
| 4507 | $showTotalScoreAndUserChoices |
|
| 4508 | ); |
|
| 4509 | } else { |
|
| 4510 | ExerciseShowFunctions::display_multiple_answer_combination_true_false( |
|
| 4511 | $feedback_type, |
|
| 4512 | $answerType, |
|
| 4513 | $studentChoice, |
|
| 4514 | $answer, |
|
| 4515 | $answerComment, |
|
| 4516 | $answerCorrect, |
|
| 4517 | $exeId, |
|
| 4518 | $questionId, |
|
| 4519 | '', |
|
| 4520 | $results_disabled, |
|
| 4521 | $showTotalScoreAndUserChoices |
|
| 4522 | ); |
|
| 4523 | } |
|
| 4524 | break; |
|
| 4525 | case MULTIPLE_ANSWER_TRUE_FALSE: |
|
| 4526 | if ($answerId == 1) { |
|
| 4527 | ExerciseShowFunctions::display_multiple_answer_true_false( |
|
| @@ 4525-4555 (lines=31) @@ | ||
| 4522 | ); |
|
| 4523 | } |
|
| 4524 | break; |
|
| 4525 | case MULTIPLE_ANSWER_TRUE_FALSE: |
|
| 4526 | if ($answerId == 1) { |
|
| 4527 | ExerciseShowFunctions::display_multiple_answer_true_false( |
|
| 4528 | $feedback_type, |
|
| 4529 | $answerType, |
|
| 4530 | $studentChoice, |
|
| 4531 | $answer, |
|
| 4532 | $answerComment, |
|
| 4533 | $answerCorrect, |
|
| 4534 | $exeId, |
|
| 4535 | $questionId, |
|
| 4536 | $answerId, |
|
| 4537 | $results_disabled, |
|
| 4538 | $showTotalScoreAndUserChoices |
|
| 4539 | ); |
|
| 4540 | } else { |
|
| 4541 | ExerciseShowFunctions::display_multiple_answer_true_false( |
|
| 4542 | $feedback_type, |
|
| 4543 | $answerType, |
|
| 4544 | $studentChoice, |
|
| 4545 | $answer, |
|
| 4546 | $answerComment, |
|
| 4547 | $answerCorrect, |
|
| 4548 | $exeId, |
|
| 4549 | $questionId, |
|
| 4550 | '', |
|
| 4551 | $results_disabled, |
|
| 4552 | $showTotalScoreAndUserChoices |
|
| 4553 | ); |
|
| 4554 | } |
|
| 4555 | break; |
|
| 4556 | case FILL_IN_BLANKS: |
|
| 4557 | ExerciseShowFunctions::display_fill_in_blanks_answer( |
|
| 4558 | $feedback_type, |
|