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