19 declare(strict_types=1);
70 $settings_result = $test_obj->
getScoreSettings()->getResultDetailsSettings();
72 $show_hidden_questions =
false;
73 $show_optional_questions =
true;
74 $show_best_solution = $is_user_output ?
75 $settings_result->getShowSolutionListComparison() :
80 $show_hidden_questions,
81 $show_optional_questions,
82 $test_obj->
getMainSettings()->getQuestionBehaviourSettings()->getQuestionHintsEnabled(),
84 $settings_result->getShowSolutionFeedback(),
85 $settings_result->getShowSolutionAnswersOnly(),
86 $settings_result->getShowSolutionSuggested()
static get(string $a_var)
__construct(protected UIFactory $ui_factory, protected UIRenderer $ui_renderer, protected Refinery $refinery, protected DataFactory $data_factory, protected HTTPService $http, protected Language $lng)
static http()
Fetches the global http state from ILIAS.
getAttemptResultsSettings(\ilObjTest $test_obj, bool $is_user_output)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getAttemptResultsPresentationTable(AttemptResult $attempt_result, Settings $settings, string $title, bool $for_print)