| @@ 4510-4540 (lines=31) @@ | ||
| 4507 | case UNIQUE_ANSWER_NO_OPTION: |
|
| 4508 | case MULTIPLE_ANSWER: |
|
| 4509 | case GLOBAL_MULTIPLE_ANSWER : |
|
| 4510 | case MULTIPLE_ANSWER_COMBINATION: |
|
| 4511 | if ($answerId == 1) { |
|
| 4512 | ExerciseShowFunctions::display_unique_or_multiple_answer( |
|
| 4513 | $feedback_type, |
|
| 4514 | $answerType, |
|
| 4515 | $studentChoice, |
|
| 4516 | $answer, |
|
| 4517 | $answerComment, |
|
| 4518 | $answerCorrect, |
|
| 4519 | $exeId, |
|
| 4520 | $questionId, |
|
| 4521 | $answerId, |
|
| 4522 | $results_disabled, |
|
| 4523 | $showTotalScoreAndUserChoicesInLastAttempt |
|
| 4524 | ); |
|
| 4525 | } else { |
|
| 4526 | ExerciseShowFunctions::display_unique_or_multiple_answer( |
|
| 4527 | $feedback_type, |
|
| 4528 | $answerType, |
|
| 4529 | $studentChoice, |
|
| 4530 | $answer, |
|
| 4531 | $answerComment, |
|
| 4532 | $answerCorrect, |
|
| 4533 | $exeId, |
|
| 4534 | $questionId, |
|
| 4535 | '', |
|
| 4536 | $results_disabled, |
|
| 4537 | $showTotalScoreAndUserChoicesInLastAttempt |
|
| 4538 | ); |
|
| 4539 | } |
|
| 4540 | break; |
|
| 4541 | case MULTIPLE_ANSWER_COMBINATION_TRUE_FALSE: |
|
| 4542 | if ($answerId == 1) { |
|
| 4543 | ExerciseShowFunctions::display_multiple_answer_combination_true_false( |
|
| @@ 4541-4571 (lines=31) @@ | ||
| 4538 | ); |
|
| 4539 | } |
|
| 4540 | break; |
|
| 4541 | case MULTIPLE_ANSWER_COMBINATION_TRUE_FALSE: |
|
| 4542 | if ($answerId == 1) { |
|
| 4543 | ExerciseShowFunctions::display_multiple_answer_combination_true_false( |
|
| 4544 | $feedback_type, |
|
| 4545 | $answerType, |
|
| 4546 | $studentChoice, |
|
| 4547 | $answer, |
|
| 4548 | $answerComment, |
|
| 4549 | $answerCorrect, |
|
| 4550 | $exeId, |
|
| 4551 | $questionId, |
|
| 4552 | $answerId, |
|
| 4553 | $results_disabled, |
|
| 4554 | $showTotalScoreAndUserChoicesInLastAttempt |
|
| 4555 | ); |
|
| 4556 | } else { |
|
| 4557 | ExerciseShowFunctions::display_multiple_answer_combination_true_false( |
|
| 4558 | $feedback_type, |
|
| 4559 | $answerType, |
|
| 4560 | $studentChoice, |
|
| 4561 | $answer, |
|
| 4562 | $answerComment, |
|
| 4563 | $answerCorrect, |
|
| 4564 | $exeId, |
|
| 4565 | $questionId, |
|
| 4566 | '', |
|
| 4567 | $results_disabled, |
|
| 4568 | $showTotalScoreAndUserChoicesInLastAttempt |
|
| 4569 | ); |
|
| 4570 | } |
|
| 4571 | break; |
|
| 4572 | case MULTIPLE_ANSWER_TRUE_FALSE: |
|
| 4573 | if ($answerId == 1) { |
|
| 4574 | ExerciseShowFunctions::display_multiple_answer_true_false( |
|
| @@ 4572-4602 (lines=31) @@ | ||
| 4569 | ); |
|
| 4570 | } |
|
| 4571 | break; |
|
| 4572 | case MULTIPLE_ANSWER_TRUE_FALSE: |
|
| 4573 | if ($answerId == 1) { |
|
| 4574 | ExerciseShowFunctions::display_multiple_answer_true_false( |
|
| 4575 | $feedback_type, |
|
| 4576 | $answerType, |
|
| 4577 | $studentChoice, |
|
| 4578 | $answer, |
|
| 4579 | $answerComment, |
|
| 4580 | $answerCorrect, |
|
| 4581 | $exeId, |
|
| 4582 | $questionId, |
|
| 4583 | $answerId, |
|
| 4584 | $results_disabled, |
|
| 4585 | $showTotalScoreAndUserChoicesInLastAttempt |
|
| 4586 | ); |
|
| 4587 | } else { |
|
| 4588 | ExerciseShowFunctions::display_multiple_answer_true_false( |
|
| 4589 | $feedback_type, |
|
| 4590 | $answerType, |
|
| 4591 | $studentChoice, |
|
| 4592 | $answer, |
|
| 4593 | $answerComment, |
|
| 4594 | $answerCorrect, |
|
| 4595 | $exeId, |
|
| 4596 | $questionId, |
|
| 4597 | '', |
|
| 4598 | $results_disabled, |
|
| 4599 | $showTotalScoreAndUserChoicesInLastAttempt |
|
| 4600 | ); |
|
| 4601 | } |
|
| 4602 | break; |
|
| 4603 | case FILL_IN_BLANKS: |
|
| 4604 | ExerciseShowFunctions::display_fill_in_blanks_answer( |
|
| 4605 | $feedback_type, |
|