| @@ 4421-4449 (lines=29) @@ | ||
| 4418 | case UNIQUE_ANSWER_NO_OPTION: |
|
| 4419 | case MULTIPLE_ANSWER: |
|
| 4420 | case GLOBAL_MULTIPLE_ANSWER : |
|
| 4421 | case MULTIPLE_ANSWER_COMBINATION: |
|
| 4422 | if ($answerId == 1) { |
|
| 4423 | ExerciseShowFunctions::display_unique_or_multiple_answer( |
|
| 4424 | $feedback_type, |
|
| 4425 | $answerType, |
|
| 4426 | $studentChoice, |
|
| 4427 | $answer, |
|
| 4428 | $answerComment, |
|
| 4429 | $answerCorrect, |
|
| 4430 | $exeId, |
|
| 4431 | $questionId, |
|
| 4432 | $answerId, |
|
| 4433 | $results_disabled |
|
| 4434 | ); |
|
| 4435 | } else { |
|
| 4436 | ExerciseShowFunctions::display_unique_or_multiple_answer( |
|
| 4437 | $feedback_type, |
|
| 4438 | $answerType, |
|
| 4439 | $studentChoice, |
|
| 4440 | $answer, |
|
| 4441 | $answerComment, |
|
| 4442 | $answerCorrect, |
|
| 4443 | $exeId, |
|
| 4444 | $questionId, |
|
| 4445 | "", |
|
| 4446 | $results_disabled |
|
| 4447 | ); |
|
| 4448 | } |
|
| 4449 | break; |
|
| 4450 | case MULTIPLE_ANSWER_COMBINATION_TRUE_FALSE: |
|
| 4451 | if ($answerId == 1) { |
|
| 4452 | ExerciseShowFunctions::display_multiple_answer_combination_true_false( |
|
| @@ 4450-4478 (lines=29) @@ | ||
| 4447 | ); |
|
| 4448 | } |
|
| 4449 | break; |
|
| 4450 | case MULTIPLE_ANSWER_COMBINATION_TRUE_FALSE: |
|
| 4451 | if ($answerId == 1) { |
|
| 4452 | ExerciseShowFunctions::display_multiple_answer_combination_true_false( |
|
| 4453 | $feedback_type, |
|
| 4454 | $answerType, |
|
| 4455 | $studentChoice, |
|
| 4456 | $answer, |
|
| 4457 | $answerComment, |
|
| 4458 | $answerCorrect, |
|
| 4459 | $exeId, |
|
| 4460 | $questionId, |
|
| 4461 | $answerId, |
|
| 4462 | $results_disabled |
|
| 4463 | ); |
|
| 4464 | } else { |
|
| 4465 | ExerciseShowFunctions::display_multiple_answer_combination_true_false( |
|
| 4466 | $feedback_type, |
|
| 4467 | $answerType, |
|
| 4468 | $studentChoice, |
|
| 4469 | $answer, |
|
| 4470 | $answerComment, |
|
| 4471 | $answerCorrect, |
|
| 4472 | $exeId, |
|
| 4473 | $questionId, |
|
| 4474 | "", |
|
| 4475 | $results_disabled |
|
| 4476 | ); |
|
| 4477 | } |
|
| 4478 | break; |
|
| 4479 | case MULTIPLE_ANSWER_TRUE_FALSE: |
|
| 4480 | if ($answerId == 1) { |
|
| 4481 | ExerciseShowFunctions::display_multiple_answer_true_false( |
|
| @@ 4479-4507 (lines=29) @@ | ||
| 4476 | ); |
|
| 4477 | } |
|
| 4478 | break; |
|
| 4479 | case MULTIPLE_ANSWER_TRUE_FALSE: |
|
| 4480 | if ($answerId == 1) { |
|
| 4481 | ExerciseShowFunctions::display_multiple_answer_true_false( |
|
| 4482 | $feedback_type, |
|
| 4483 | $answerType, |
|
| 4484 | $studentChoice, |
|
| 4485 | $answer, |
|
| 4486 | $answerComment, |
|
| 4487 | $answerCorrect, |
|
| 4488 | $exeId, |
|
| 4489 | $questionId, |
|
| 4490 | $answerId, |
|
| 4491 | $results_disabled |
|
| 4492 | ); |
|
| 4493 | } else { |
|
| 4494 | ExerciseShowFunctions::display_multiple_answer_true_false( |
|
| 4495 | $feedback_type, |
|
| 4496 | $answerType, |
|
| 4497 | $studentChoice, |
|
| 4498 | $answer, |
|
| 4499 | $answerComment, |
|
| 4500 | $answerCorrect, |
|
| 4501 | $exeId, |
|
| 4502 | $questionId, |
|
| 4503 | "", |
|
| 4504 | $results_disabled |
|
| 4505 | ); |
|
| 4506 | } |
|
| 4507 | break; |
|
| 4508 | case FILL_IN_BLANKS: |
|
| 4509 | ExerciseShowFunctions::display_fill_in_blanks_answer( |
|
| 4510 | $feedback_type, |
|