ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct (private ProcessLockModes $process_lock_mode=ProcessLockModes::ASS_PROC_LOCK_MODE_NONE, private string $image_map_line_color='FF0000', private UserIdentifiers $user_identifier=UserIdentifiers::USER_ID, private int $skill_triggering_number_of_answers=1, private bool $export_essay_questions_as_html=false, private array $disabled_question_types=[], private bool $manual_scoring_enabled=false, private bool $adjusting_questions_with_results_allowed=false, private bool $page_editor_enabled=false) | |
toForm (UIFactory $ui_factory, Refinery $refinery, \ilLanguage $lng) | |
getProcessLockMode () | |
withProcessLockMode (ProcessLockModes $process_lock_mode) | |
getImageMapLineColor () | |
withImageMapLineColor (string $image_map_line_color) | |
getUserIdentifier () | |
withUserIdentifier (UserIdentifiers $user_identifier) | |
getSkillTriggeringNumberOfAnswers () | |
withSkillTriggeringNumberOfAnswers (int $skill_triggering_number_of_answers) | |
getExportEssayQuestionsAsHtml () | |
withExportEssayQuestionsAsHtml (bool $export_essay_questions_as_html) | |
getDisabledQuestionTypes () | |
withDisabledQuestionTypes (array $disabled_question_types) | |
isManualScoringEnabled () | |
withManualScoringEnabled (bool $manual_scoring_enabled) | |
isAdjustingQuestionsWithResultsAllowed () | |
withAdjustingQuestionsWithResultsAllowed (bool $adjusting_questions_with_results_allowed) | |
isPageEditorEnabled () | |
withPageEditorEnabled (bool $page_editor_enabled) | |
Private Member Functions | |
buildGlobalSettingsBuilderTrafo (Refinery $refinery, array $all_question_types) | |
buildGeneralSettingsInputs (FieldFactory $ff, Refinery $refinery, \ilLanguage $lng) | |
buildQuestionSettingsInputs (FieldFactory $ff, \ilLanguage $lng, array $all_question_types, array $enabled_question_types) | |
Definition at line 29 of file GlobalTestSettings.php.
ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings::__construct | ( | private ProcessLockModes | $process_lock_mode = ProcessLockModes::ASS_PROC_LOCK_MODE_NONE , |
private string | $image_map_line_color = 'FF0000' , |
||
private UserIdentifiers | $user_identifier = UserIdentifiers::USER_ID , |
||
private int | $skill_triggering_number_of_answers = 1 , |
||
private bool | $export_essay_questions_as_html = false , |
||
private array | $disabled_question_types = [] , |
||
private bool | $manual_scoring_enabled = false , |
||
private bool | $adjusting_questions_with_results_allowed = false , |
||
private bool | $page_editor_enabled = false |
||
) |
Definition at line 31 of file GlobalTestSettings.php.
|
private |
Definition at line 224 of file GlobalTestSettings.php.
References $c, ILIAS\Test\Settings\GlobalSettings\ASS_PROC_LOCK_MODE_DB, null, ilLanguage\txt(), ILIAS\UI\Implementation\Component\Input\ViewControl\withAdditionalTransformation(), and ILIAS\UI\Implementation\Component\Input\withValue().
Referenced by ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings\toForm().
|
private |
Definition at line 191 of file GlobalTestSettings.php.
References $c, ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\from(), and null.
Referenced by ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings\toForm().
|
private |
Definition at line 274 of file GlobalTestSettings.php.
References $c, ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings\isAdjustingQuestionsWithResultsAllowed(), ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings\isManualScoringEnabled(), ilLanguage\txt(), and ILIAS\UI\Implementation\Component\Input\withValue().
Referenced by ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings\toForm().
ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings::getDisabledQuestionTypes | ( | ) |
Definition at line 140 of file GlobalTestSettings.php.
Referenced by ILIAS\Test\Settings\GlobalSettings\Repository\storeGlobalSettings().
ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings::getExportEssayQuestionsAsHtml | ( | ) |
Definition at line 125 of file GlobalTestSettings.php.
Referenced by ILIAS\Test\Settings\GlobalSettings\Repository\storeGlobalSettings().
ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings::getImageMapLineColor | ( | ) |
Definition at line 89 of file GlobalTestSettings.php.
Referenced by ILIAS\Test\Settings\GlobalSettings\Repository\storeGlobalSettings().
ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings::getProcessLockMode | ( | ) |
Definition at line 77 of file GlobalTestSettings.php.
Referenced by ILIAS\Test\Settings\GlobalSettings\Repository\storeGlobalSettings().
ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings::getSkillTriggeringNumberOfAnswers | ( | ) |
Definition at line 113 of file GlobalTestSettings.php.
Referenced by ILIAS\Test\Settings\GlobalSettings\Repository\storeGlobalSettings().
ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings::getUserIdentifier | ( | ) |
Definition at line 101 of file GlobalTestSettings.php.
Referenced by ILIAS\Test\Settings\GlobalSettings\Repository\storeGlobalSettings().
ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings::isAdjustingQuestionsWithResultsAllowed | ( | ) |
Definition at line 167 of file GlobalTestSettings.php.
Referenced by ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings\buildQuestionSettingsInputs(), and ILIAS\Test\Settings\GlobalSettings\Repository\storeGlobalSettings().
ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings::isManualScoringEnabled | ( | ) |
Definition at line 155 of file GlobalTestSettings.php.
Referenced by ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings\buildQuestionSettingsInputs(), and ILIAS\Test\Settings\GlobalSettings\Repository\storeGlobalSettings().
ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings::isPageEditorEnabled | ( | ) |
Definition at line 179 of file GlobalTestSettings.php.
ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings::toForm | ( | UIFactory | $ui_factory, |
Refinery | $refinery, | ||
\ilLanguage | $lng | ||
) |
Definition at line 48 of file GlobalTestSettings.php.
References ilObjQuestionPool\_getQuestionTypes(), ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings\buildGeneralSettingsInputs(), ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings\buildGlobalSettingsBuilderTrafo(), and ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings\buildQuestionSettingsInputs().
ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings::withAdjustingQuestionsWithResultsAllowed | ( | bool | $adjusting_questions_with_results_allowed | ) |
Definition at line 172 of file GlobalTestSettings.php.
ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings::withDisabledQuestionTypes | ( | array | $disabled_question_types | ) |
array<int> | $disabled_question_types |
Definition at line 148 of file GlobalTestSettings.php.
ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings::withExportEssayQuestionsAsHtml | ( | bool | $export_essay_questions_as_html | ) |
Definition at line 130 of file GlobalTestSettings.php.
ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings::withImageMapLineColor | ( | string | $image_map_line_color | ) |
Definition at line 94 of file GlobalTestSettings.php.
ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings::withManualScoringEnabled | ( | bool | $manual_scoring_enabled | ) |
Definition at line 160 of file GlobalTestSettings.php.
ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings::withPageEditorEnabled | ( | bool | $page_editor_enabled | ) |
Definition at line 184 of file GlobalTestSettings.php.
ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings::withProcessLockMode | ( | ProcessLockModes | $process_lock_mode | ) |
Definition at line 82 of file GlobalTestSettings.php.
ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings::withSkillTriggeringNumberOfAnswers | ( | int | $skill_triggering_number_of_answers | ) |
Definition at line 118 of file GlobalTestSettings.php.
ILIAS\Test\Settings\GlobalSettings\GlobalTestSettings::withUserIdentifier | ( | UserIdentifiers | $user_identifier | ) |
Definition at line 106 of file GlobalTestSettings.php.