19declare(strict_types=1);
55 return $this->settings_general;
61 $clone->settings_general = $settings;
67 return $this->settings_introduction;
73 $clone->settings_introduction = $settings;
79 return $this->settings_access;
85 $clone->settings_access = $settings;
91 return $this->settings_test_behaviour;
97 $clone->settings_test_behaviour = $settings;
103 return $this->settings_question_behaviour;
108 $clone = clone $this;
109 $clone->settings_question_behaviour = $settings;
115 return $this->settings_participant_functionality;
120 $clone = clone $this;
121 $clone->settings_participant_functionality = $settings;
127 return $this->settings_finishing;
132 $clone = clone $this;
133 $clone->settings_finishing = $settings;
139 return $this->settings_additional;
144 $clone = clone $this;
145 $clone->settings_additional = $settings;
152 return $this->settings_general->toLog($additional_info)
153 + $this->settings_introduction->toLog($additional_info)
154 + $this->settings_access->toLog($additional_info)
155 + $this->settings_test_behaviour->toLog($additional_info)
156 + $this->settings_question_behaviour->toLog($additional_info)
157 + $this->settings_participant_functionality->toLog($additional_info)
158 + $this->settings_finishing->toLog($additional_info)
159 + $this->settings_additional->toLog($additional_info);
165 'settings_general' => $this->settings_general->toExport(),
166 'settings_introduction' => $this->settings_introduction->toExport(),
167 'settings_access' => $this->settings_access->toExport(),
168 'settings_test_behaviour' => $this->settings_test_behaviour->toExport(),
169 'settings_question_behaviour' => $this->settings_question_behaviour->toExport(),
170 'settings_participant_functionality' => $this->settings_participant_functionality->toExport(),
171 'settings_finishing' => $this->settings_finishing->toExport(),
172 'settings_additional' => $this->settings_additional->toExport(),
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
withTestBehaviourSettings(SettingsTestBehaviour $settings)
withGeneralSettings(SettingsGeneral $settings)
static fromExport(array $data)
Creates an instance of the object from an array.
getArrayForLog(AdditionalInformationGenerator $additional_info)
withQuestionBehaviourSettings(SettingsQuestionBehaviour $settings)
getQuestionBehaviourSettings()
getTestBehaviourSettings()
__construct(protected int $id, protected SettingsGeneral $settings_general, protected SettingsIntroduction $settings_introduction, protected SettingsAccess $settings_access, protected SettingsTestBehaviour $settings_test_behaviour, protected SettingsQuestionBehaviour $settings_question_behaviour, protected SettingsParticipantFunctionality $settings_participant_functionality, protected SettingsFinishing $settings_finishing, protected SettingsAdditional $settings_additional)
withAccessSettings(SettingsAccess $settings)
withFinishingSettings(SettingsFinishing $settings)
getParticipantFunctionalitySettings()
withAdditionalSettings(SettingsAdditional $settings)
toExport()
Transform the object into a simple, associative array.
withIntroductionSettings(SettingsIntroduction $settings)
withParticipantFunctionalitySettings(SettingsParticipantFunctionality $settings)
getIntroductionSettings()
static fromExport(array $data)
Creates an instance of the object from an array.
static fromExport(array $data)
Creates an instance of the object from an array.
static fromExport(array $data)
Creates an instance of the object from an array.
static fromExport(array $data)
Creates an instance of the object from an array.
static fromExport(array $data)
Creates an instance of the object from an array.
static fromExport(array $data)
Creates an instance of the object from an array.
static fromExport(array $data)
Creates an instance of the object from an array.
static fromExport(array $data)
Creates an instance of the object from an array.
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This interface allows an object to define its own transformation into a language-neutral,...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...