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