19declare(strict_types=1);
64 if (
$setting->getTestId() !== $this->getTestId()) {
65 throw new \LogicException(
'TestId mismatch in ' . get_class(
$setting));
77 $clone->settings_scoring = $clone->settings_scoring->withTestId(
$test_id);
78 $clone->settings_result_summary = $clone->settings_result_summary->withTestId(
$test_id);
79 $clone->settings_result_details = $clone->settings_result_details->withTestId(
$test_id);
80 $clone->settings_gamification = $clone->settings_gamification->withTestId(
$test_id);
93 $clone->settings_scoring = $settings;
104 $clone = clone $this;
105 $clone->settings_result_summary = $settings;
116 $clone = clone $this;
117 $clone->settings_result_details = $settings;
129 $clone = clone $this;
130 $clone->settings_gamification = $settings;
137 return $this->settings_scoring->toLog($additional_info)
138 + $this->settings_result_summary->toLog($additional_info)
139 + $this->settings_result_details->toLog($additional_info)
140 + $this->settings_gamification->toLog($additional_info);
withScoringSettings(SettingsScoring $settings)
getArrayForLog(AdditionalInformationGenerator $additional_info)
getResultDetailsSettings()
SettingsResultSummary $settings_result_summary
SettingsResultDetails $settings_result_details
withResultDetailsSettings(SettingsResultDetails $settings)
SettingsScoring $settings_scoring
withGamificationSettings(SettingsGamification $settings)
getGamificationSettings()
getResultSummarySettings()
__construct(int $test_id, SettingsScoring $settings_scoring, SettingsResultSummary $settings_result_summary, SettingsResultDetails $settings_result_details, SettingsGamification $settings_gamification)
SettingsGamification $settings_gamification
withResultSummarySettings(SettingsResultSummary $settings)
throwOnDifferentTestId(TestSettings $setting)
withShowPassDetails(bool $flag)
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...