ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Test\Settings\MainSettings\SettingsMainGUI Class Reference

@ilCtrl_Calls ILIAS\Test\Settings\MainSettings\SettingsMainGUI: ilPropertyFormGUI @ilCtrl_Calls ILIAS\Test\Settings\MainSettings\SettingsMainGUI: ilConfirmationGUI @ilCtrl_Calls ILIAS\Test\Settings\MainSettings\SettingsMainGUI: ilTestSettingsChangeConfirmationGUI More...

+ Inheritance diagram for ILIAS\Test\Settings\MainSettings\SettingsMainGUI:
+ Collaboration diagram for ILIAS\Test\Settings\MainSettings\SettingsMainGUI:

Public Member Functions

 __construct (private readonly \ilGlobalTemplateInterface $tpl, private readonly \ilToolbarGUI $toolbar, private readonly \ilCtrlInterface $ctrl, private readonly \ilAccessHandler $access, private readonly \ilLanguage $lng, private readonly \ilTree $tree, private readonly \ilDBInterface $db, private readonly \ilObjectDataCache $object_data_cache, private readonly \ilSetting $settings, private readonly UIFactory $ui_factory, private readonly UIRenderer $ui_renderer, private readonly Refinery $refinery, private readonly ServerRequestInterface $request, private readonly \ilComponentRepository $component_repository, private readonly \ilObjUser $active_user, private readonly \ilObjTestGUI $test_gui, private readonly TestLogger $logger, private readonly GeneralQuestionPropertiesRepository $questionrepository)
 
 executeCommand ()
 Command Execution. More...
 
- Public Member Functions inherited from ILIAS\Test\Settings\TestSettingsGUI
 __construct (protected \ilObjTest $test_object)
 

Data Fields

const CMD_SHOW_FORM = 'showForm'
 
const CMD_SAVE_FORM = 'saveForm'
 
const CMD_CONFIRMED_SAVE_FORM = 'confirmedSaveForm'
 
const CMD_SHOW_RESET_TPL_CONFIRM = 'showResetTemplateConfirmation'
 
const CMD_CONFIRMED_RESET_TPL = 'confirmedResetTemplate'
 

Protected Member Functions

 getPresentationSettingsSection ()
 
 savePresentationSettingsSection (array $section)
 
 getAdditionalFunctionalitySettingsSections (array $environment)
 
 getOrganisationalUnitsActivationInput ()
 
 saveAdditionalFunctionalitySettingsSection (array $sections)
 
 saveOrganisationalUnitsActivation (bool $activation)
 
 getAdditionalFunctionalitySettingsForStorage (array $section)
 
- Protected Member Functions inherited from ILIAS\Test\Settings\TestSettingsGUI
 formPropertyExists (\ilPropertyFormGUI $form, $propertyId)
 

Protected Attributes

ObjectProperties $object_properties
 
MainSettings $main_settings
 
MainSettingsRepository $main_settings_repository
 

Private Member Functions

 showOldIntroduction ()
 
 showOldConcludingRemarks ()
 
 showForm (?StandardForm $form=null, ?InterruptiveModal $modal=null)
 
 confirmedSaveForm ()
 
 saveForm ()
 
 finalizeSave (array $data)
 
 anonymityChanged (bool $anonymity_form_data)
 
 getObjectDataArrayForLog ()
 
 buildForm ()
 
 getFormConstraints ()
 
 populateConfirmationModal (?string $current_question_set_type, ?string $new_question_set_type, bool $anonymity_modal_required)
 
 performSaveForm (array $data)
 
 getGeneralSettingsSection (array $environment)
 
 getGeneralSettingsForStorage (array $section)
 
 getAvailabilitySettingsSection ()
 
 getIsOnlineSettingInput ()
 
 saveAvailabilitySettingsSection (array $section)
 
 getIntroductionSettingsForStorage (array $section)
 
 getAccessSettingsForStorage (array $section)
 
 getTestBehaviourSettingsForStorage (array $section)
 
 getQuestionBehaviourSettingsForStorage (array $section)
 
 getParticipantsFunctionalitySettingsForStorage (array $section)
 
 getFinishingSettingsForStorage (array $section)
 
 buildDateOrNullFromILIASValue (?int $value)
 

Private Attributes

const GENERAL_SETTINGS_SECTION_LABEL = 'general_settings'
 
const AVAILABILITY_SETTINGS_SECTION_LABEL = 'availability settings'
 
const PRESENTATION_SETTINGS_SECTION_LABEL = 'presentation_settings'
 
const INTRODUCTION_SETTINGS_SECTION_LABEL = 'introduction_settings'
 
const ACCESS_SETTINGS_LABEL = 'access_settings'
 
const TEST_BEHAVIOUR_SETTINGS_LABEL = 'test_behaviour_settings'
 
const QUESTION_BEHAVIOUR_SETTINGS_LABEL = 'question_behaviour_settings'
 
const PARTICIPANTS_FUNCTIONALITY_SETTINGS_LABEL = 'participants_functionality_settings'
 
const FINISH_TEST_SETTINGS_LABEL = 'finish_test_settings'
 
const ECS_FUNCTIONALITY_SETTINGS_LABEL = 'ecs_settings'
 
const ADDITIONAL_FUNCTIONALITY_SETTINGS_LABEL = 'additional_functionality_settings'
 
ilTestQuestionSetConfigFactory $testQuestionSetConfigFactory
 

Detailed Description

@ilCtrl_Calls ILIAS\Test\Settings\MainSettings\SettingsMainGUI: ilPropertyFormGUI @ilCtrl_Calls ILIAS\Test\Settings\MainSettings\SettingsMainGUI: ilConfirmationGUI @ilCtrl_Calls ILIAS\Test\Settings\MainSettings\SettingsMainGUI: ilTestSettingsChangeConfirmationGUI

Definition at line 49 of file class.SettingsMainGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::__construct ( private readonly \ilGlobalTemplateInterface  $tpl,
private readonly \ilToolbarGUI  $toolbar,
private readonly \ilCtrlInterface  $ctrl,
private readonly \ilAccessHandler  $access,
private readonly \ilLanguage  $lng,
private readonly \ilTree  $tree,
private readonly \ilDBInterface  $db,
private readonly \ilObjectDataCache  $object_data_cache,
private readonly \ilSetting  $settings,
private readonly UIFactory  $ui_factory,
private readonly UIRenderer  $ui_renderer,
private readonly Refinery  $refinery,
private readonly ServerRequestInterface  $request,
private readonly \ilComponentRepository  $component_repository,
private readonly \ilObjUser  $active_user,
private readonly \ilObjTestGUI  $test_gui,
private readonly TestLogger  $logger,
private readonly GeneralQuestionPropertiesRepository  $questionrepository 
)

Definition at line 75 of file class.SettingsMainGUI.php.

94 {
95 $this->object_properties = $this->test_gui->getTestObject()->getObjectProperties();
96 $this->main_settings = $this->test_gui->getTestObject()->getMainSettings();
97 $this->main_settings_repository = $this->test_gui->getTestObject()->getMainSettingsRepository();
98 $this->testQuestionSetConfigFactory = new \ilTestQuestionSetConfigFactory(
99 $this->tree,
100 $this->db,
101 $this->lng,
102 $this->logger,
103 $this->component_repository,
104 $this->test_gui->getTestObject(),
105 $this->questionrepository
106 );
107
108 $this->lng->loadLanguageModule('validation');
109 $this->lng->loadLanguageModule('rep');
110
111 parent::__construct($this->test_gui->getTestObject());
112 }
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

References ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\lng(), and ILIAS\Repository\logger().

+ Here is the call graph for this function:

Member Function Documentation

◆ anonymityChanged()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::anonymityChanged ( bool  $anonymity_form_data)
private

Definition at line 288 of file class.SettingsMainGUI.php.

288 : bool
289 {
290 return $this->main_settings->getGeneralSettings()->getAnonymity() === false
291 && $anonymity_form_data === true
292 && $this->logger->testHasParticipantInteractions($this->test_object->getRefId());
293 }

References ILIAS\Repository\logger().

Referenced by ILIAS\Test\Settings\MainSettings\SettingsMainGUI\confirmedSaveForm(), and ILIAS\Test\Settings\MainSettings\SettingsMainGUI\saveForm().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ buildDateOrNullFromILIASValue()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::buildDateOrNullFromILIASValue ( ?int  $value)
private

Definition at line 757 of file class.SettingsMainGUI.php.

757 : ?\DateTimeImmutable
758 {
759 if ($value === null || $value === 0) {
760 return null;
761 }
762
763 return \DateTimeImmutable::createFromFormat(
764 'U',
765 (string) $value
766 )->setTimezone(new \DateTimeZone($this->active_user->getTimeZone()));
767 }

◆ buildForm()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::buildForm ( )
private

Definition at line 310 of file class.SettingsMainGUI.php.

310 : StandardForm
311 {
313 $input_factory = $this->ui_factory->input();
315
316 $environment['participant_data_exists'] = $this->test_object->participantDataExist();
317 $environment['user_date_format'] = $this->active_user->getDateTimeFormat();
318 $environment['user_time_zone'] = $this->active_user->getTimeZone();
319
320 $main_inputs = [
321 self::GENERAL_SETTINGS_SECTION_LABEL => $this->getGeneralSettingsSection($environment),
322 self::AVAILABILITY_SETTINGS_SECTION_LABEL => $this->getAvailabilitySettingsSection(),
323 self::PRESENTATION_SETTINGS_SECTION_LABEL => $this->getPresentationSettingsSection(),
324 self::INTRODUCTION_SETTINGS_SECTION_LABEL => $this->main_settings->getIntroductionSettings()
325 ->toForm($lng, $input_factory->field(), $refinery),
326 self::ACCESS_SETTINGS_LABEL => $this->main_settings->getAccessSettings()
327 ->toForm($lng, $input_factory->field(), $refinery, $environment),
328 self::TEST_BEHAVIOUR_SETTINGS_LABEL => $this->main_settings->getTestBehaviourSettings()
329 ->toForm($lng, $input_factory->field(), $refinery, $environment),
330 self::QUESTION_BEHAVIOUR_SETTINGS_LABEL => $this->main_settings->getQuestionBehaviourSettings()
331 ->toForm($lng, $input_factory->field(), $refinery, $environment),
332 self::PARTICIPANTS_FUNCTIONALITY_SETTINGS_LABEL => $this->main_settings->getParticipantFunctionalitySettings()
333 ->toForm($lng, $input_factory->field(), $refinery, $environment),
334 self::FINISH_TEST_SETTINGS_LABEL => $this->main_settings->getFinishingSettings()
335 ->toForm($lng, $input_factory->field(), $refinery)
336 ];
337
338 $inputs = array_merge($main_inputs, $this->getAdditionalFunctionalitySettingsSections($environment));
339
340 return $input_factory->container()->form()->standard(
341 $this->ctrl->getFormActionByClass(self::class, self::CMD_SAVE_FORM),
342 $inputs
343 )->withAdditionalTransformation($this->getFormConstraints());
344 }
global $lng
Definition: privfeed.php:31

References ILIAS\UI\Implementation\Component\Input\$inputs, $lng, ILIAS\UI\examples\Layout\Page\Standard\$refinery, ILIAS\Repository\ctrl(), ILIAS\Test\Settings\MainSettings\SettingsMainGUI\getAdditionalFunctionalitySettingsSections(), ILIAS\Test\Settings\MainSettings\SettingsMainGUI\getAvailabilitySettingsSection(), ILIAS\Test\Settings\MainSettings\SettingsMainGUI\getFormConstraints(), ILIAS\Test\Settings\MainSettings\SettingsMainGUI\getGeneralSettingsSection(), and ILIAS\Test\Settings\MainSettings\SettingsMainGUI\getPresentationSettingsSection().

Referenced by ILIAS\Test\Settings\MainSettings\SettingsMainGUI\confirmedSaveForm(), ILIAS\Test\Settings\MainSettings\SettingsMainGUI\saveForm(), and ILIAS\Test\Settings\MainSettings\SettingsMainGUI\showForm().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ confirmedSaveForm()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::confirmedSaveForm ( )
private

Definition at line 196 of file class.SettingsMainGUI.php.

196 : void
197 {
198 $form = $this->buildForm()->withRequest($this->request);
199 $data = $form->getData();
200 if ($data === null) {
201 $this->showForm($form);
202 return;
203 }
204
205 $current_question_set_type = $this->main_settings->getGeneralSettings()->getQuestionSetType();
206 $current_question_config = $this->testQuestionSetConfigFactory->getQuestionSetConfig();
207 $new_question_set_type = $data[self::GENERAL_SETTINGS_SECTION_LABEL]['question_set_type'];
208
209 if ($new_question_set_type !== $current_question_set_type
210 && $current_question_config->doesQuestionSetRelatedDataExist()) {
212 $this->test_object->getObjectProperties()->getPropertyIsOnline()->withOffline();
213 $this->testQuestionSetConfigFactory->getQuestionSetConfig()->removeQuestionSetRelatedData();
214 }
215
216 if ($this->anonymityChanged($data[self::GENERAL_SETTINGS_SECTION_LABEL]['anonymity'])) {
217 $this->logger->deleteParticipantInteractionsForTest($this->test_object->getRefId());
218 }
219
220 $this->finalizeSave($data);
221 }
showForm(?StandardForm $form=null, ?InterruptiveModal $modal=null)

References $data, ILIAS\Test\Settings\MainSettings\SettingsMainGUI\anonymityChanged(), ILIAS\Test\Settings\MainSettings\SettingsMainGUI\AVAILABILITY_SETTINGS_SECTION_LABEL, ILIAS\Test\Settings\MainSettings\SettingsMainGUI\buildForm(), ILIAS\Test\Settings\MainSettings\SettingsMainGUI\finalizeSave(), ILIAS\Test\Settings\MainSettings\SettingsMainGUI\GENERAL_SETTINGS_SECTION_LABEL, ILIAS\Repository\logger(), and ILIAS\Test\Settings\MainSettings\SettingsMainGUI\showForm().

+ Here is the call graph for this function:

◆ executeCommand()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::executeCommand ( )

Command Execution.

Definition at line 117 of file class.SettingsMainGUI.php.

118 {
119 if (!$this->access->checkAccess('write', '', $this->test_gui->getRefId())) {
120 $this->tpl->setOnScreenMessage('info', $this->lng->txt('cannot_edit_test'), true);
121 $this->ctrl->redirectByClass([\ilRepositoryGUI::class, \ilObjTestGUI::class, \ilInfoScreenGUI::class]);
122 }
123
124 $cmd = $this->ctrl->getCmd(self::CMD_SHOW_FORM);
125 $this->$cmd();
126
127 $this->object_data_cache->deleteCachedEntry($this->test_object->getId());
128 }

References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ finalizeSave()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::finalizeSave ( array  $data)
private

Definition at line 268 of file class.SettingsMainGUI.php.

268 : void
269 {
270 $this->performSaveForm($data);
271 $additional_information = $this->getObjectDataArrayForLog()
272 + $this->main_settings->getArrayForLog($this->logger->getAdditionalInformationGenerator());
273 if ($this->logger->isLoggingEnabled()) {
274 $this->logger->logTestAdministrationInteraction(
275 $this->logger->getInteractionFactory()->buildTestAdministrationInteraction(
276 $this->test_object->getRefId(),
277 $this->active_user->getId(),
278 TestAdministrationInteractionTypes::MAIN_SETTINGS_MODIFIED,
279 $additional_information
280 )
281 );
282 }
283
284 $this->tpl->setOnScreenMessage('success', $this->lng->txt('msg_obj_modified'), true);
285 $this->ctrl->redirect($this, self::CMD_SHOW_FORM);
286 }

References ILIAS\Repository\ctrl(), ILIAS\Test\Settings\MainSettings\SettingsMainGUI\getObjectDataArrayForLog(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), and ILIAS\Test\Settings\MainSettings\SettingsMainGUI\performSaveForm().

Referenced by ILIAS\Test\Settings\MainSettings\SettingsMainGUI\confirmedSaveForm(), and ILIAS\Test\Settings\MainSettings\SettingsMainGUI\saveForm().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getAccessSettingsForStorage()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::getAccessSettingsForStorage ( array  $section)
private

Definition at line 567 of file class.SettingsMainGUI.php.

567 : SettingsAccess
568 {
569 $access_settings = $this->main_settings->getAccessSettings()
570 ->withStartTimeEnabled($section['access_window']['start_time_enabled'])
571 ->withStartTime($section['access_window']['start_time'])
572 ->withEndTimeEnabled($section['access_window']['end_time_enabled'])
573 ->withEndTime($section['access_window']['end_time'])
574 ->withPasswordEnabled($section['test_password']['password_enabled'])
575 ->withPassword($section['test_password']['password_value'])
576 ->withIpRangeFrom($section['ip_range']['ip_range_from'])
577 ->withIpRangeTo($section['ip_range']['ip_range_to'])
578 ->withFixedParticipants($section['fixed_participants_enabled']);
579
580 if ($this->test_object->participantDataExist()) {
581 return $access_settings;
582 }
583
584 return $access_settings->withStartTimeEnabled($section['access_window']['start_time_enabled'])
585 ->withStartTime($section['access_window']['start_time']);
586 }

References ILIAS\Test\Settings\MainSettings\SettingsAccess\withStartTimeEnabled().

+ Here is the call graph for this function:

◆ getAdditionalFunctionalitySettingsForStorage()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::getAdditionalFunctionalitySettingsForStorage ( array  $section)
protected

Definition at line 742 of file class.SettingsMainGUI.php.

742 : SettingsAdditional
743 {
744 $additional_settings = $this->main_settings->getAdditionalSettings()->withHideInfoTab($section['hide_info_tab']);
745
746 if ($this->test_object->participantDataExist()) {
747 return $additional_settings;
748 }
749
750 if (!(new \ilSkillManagementSettings())->isActivated()) {
751 return $additional_settings->withSkillsServiceEnabled(false);
752 }
753
754 return $additional_settings->withSkillsServiceEnabled($section['skills_service_activation']);
755 }

References ILIAS\Test\Settings\MainSettings\SettingsAdditional\withHideInfoTab().

+ Here is the call graph for this function:

◆ getAdditionalFunctionalitySettingsSections()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::getAdditionalFunctionalitySettingsSections ( array  $environment)
protected

Definition at line 654 of file class.SettingsMainGUI.php.

654 : array
655 {
656 $sections = [];
657
658 $ecs = new \ilECSTestSettings($this->test_object);
659 $ecs_section = $ecs->getSettingsSection(
660 $this->ui_factory->input()->field(),
661 $this->refinery
662 );
663
664 if ($ecs_section !== null) {
665 $sections[self::ECS_FUNCTIONALITY_SETTINGS_LABEL] = $ecs_section;
666 }
667
668 $inputs['organisational_units_activation'] = $this->getOrganisationalUnitsActivationInput();
669
670 $inputs += $this->main_settings->getAdditionalSettings()->toForm(
671 $this->lng,
672 $this->ui_factory->input()->field(),
673 $this->refinery,
674 $environment
675 );
676
677 $inputs = array_filter($inputs, fn($v) => $v !== null);
678
679 if (count($inputs) > 0) {
680 $sections[self::ADDITIONAL_FUNCTIONALITY_SETTINGS_LABEL] = $this->ui_factory->input()->field()
681 ->section($inputs, $this->lng->txt('obj_features'));
682 }
683
684 return $sections;
685 }

References ILIAS\UI\Implementation\Component\Input\$inputs, and ILIAS\Repository\lng().

Referenced by ILIAS\Test\Settings\MainSettings\SettingsMainGUI\buildForm().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getAvailabilitySettingsSection()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::getAvailabilitySettingsSection ( )
private

Definition at line 490 of file class.SettingsMainGUI.php.

490 : Section
491 {
492 $input_factory = $this->ui_factory->input();
493
494 $inputs['is_online'] = $this->getIsOnlineSettingInput();
495
496 return $input_factory->field()->section(
497 $inputs,
498 $this->lng->txt('rep_activation_availability')
499 );
500 }

References ILIAS\UI\Implementation\Component\Input\$inputs, and ILIAS\Repository\lng().

Referenced by ILIAS\Test\Settings\MainSettings\SettingsMainGUI\buildForm().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getFinishingSettingsForStorage()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::getFinishingSettingsForStorage ( array  $section)
private

Definition at line 641 of file class.SettingsMainGUI.php.

641 : SettingsFinishing
642 {
643 $redirect_after_finish = $section['redirect_after_finish'];
644 $finish_notification = $section['finish_notification'];
645 return $this->main_settings->getFinishingSettings()
646 ->withShowAnswerOverview($section['show_answer_overview'])
647 ->withConcludingRemarksEnabled($section['show_concluding_remarks'])
648 ->withRedirectionMode($redirect_after_finish['redirect_mode'])
649 ->withRedirectionUrl($redirect_after_finish['redirect_url'])
650 ->withMailNotificationContentType($finish_notification['notification_content_type'])
651 ->withAlwaysSendMailNotification($finish_notification['always_notify']);
652 }

References ILIAS\Test\Settings\MainSettings\SettingsFinishing\withShowAnswerOverview().

+ Here is the call graph for this function:

◆ getFormConstraints()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::getFormConstraints ( )
private

Definition at line 346 of file class.SettingsMainGUI.php.

346 : Constraint
347 {
348 return $this->refinery->custom()->constraint(
349 function (array $vs): bool {
350 if ($vs[self::PARTICIPANTS_FUNCTIONALITY_SETTINGS_LABEL]['postponed_questions_behaviour'] === true
351 && $vs[self::QUESTION_BEHAVIOUR_SETTINGS_LABEL]['lock_answers']['lock_answer_on_next_question']) {
352 return false;
353 }
354 return true;
355 },
356 $this->lng->txt('tst_settings_conflict_postpone_and_lock')
357 );
358 }

References ILIAS\Repository\lng(), and ILIAS\Repository\refinery().

Referenced by ILIAS\Test\Settings\MainSettings\SettingsMainGUI\buildForm().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getGeneralSettingsForStorage()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::getGeneralSettingsForStorage ( array  $section)
private
Parameters
ilPropertyFormGUI$form

Definition at line 479 of file class.SettingsMainGUI.php.

479 : SettingsGeneral
480 {
481 if ($this->test_object->participantDataExist()) {
482 return $this->main_settings->getGeneralSettings();
483 }
484
485 return $this->main_settings->getGeneralSettings()
486 ->withQuestionSetType($section['question_set_type'])
487 ->withAnonymity($section['anonymity']);
488 }

References ILIAS\Test\Settings\MainSettings\SettingsGeneral\withQuestionSetType().

+ Here is the call graph for this function:

◆ getGeneralSettingsSection()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::getGeneralSettingsSection ( array  $environment)
private

Definition at line 461 of file class.SettingsMainGUI.php.

461 : Section
462 {
463 $field_factory = $this->ui_factory->input()->field();
464
465 $inputs['title_and_description'] = $this->test_object->getObjectProperties()->getPropertyTitleAndDescription()
466 ->toForm($this->lng, $field_factory, $this->refinery);
467 $inputs += $this->main_settings->getGeneralSettings()
468 ->toForm($this->lng, $field_factory, $this->refinery, $environment);
469
470 return $field_factory->section(
471 $inputs,
472 $this->lng->txt('tst_general_properties')
473 );
474 }

References ILIAS\UI\Implementation\Component\Input\$inputs, ILIAS\Repository\lng(), and ILIAS\Repository\refinery().

Referenced by ILIAS\Test\Settings\MainSettings\SettingsMainGUI\buildForm().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getIntroductionSettingsForStorage()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::getIntroductionSettingsForStorage ( array  $section)
private

Definition at line 560 of file class.SettingsMainGUI.php.

560 : SettingsIntroduction
561 {
562 return $this->main_settings->getIntroductionSettings()
563 ->withIntroductionEnabled($section['introduction_enabled'])
564 ->withExamConditionsCheckboxEnabled($section['conditions_checkbox_enabled']);
565 }

References ILIAS\Test\Settings\MainSettings\SettingsIntroduction\withIntroductionEnabled().

+ Here is the call graph for this function:

◆ getIsOnlineSettingInput()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::getIsOnlineSettingInput ( )
private

Definition at line 502 of file class.SettingsMainGUI.php.

502 : Checkbox
503 {
504 $field_factory = $this->ui_factory->input()->field();
505
506 $question_set_config_complete = $this->test_object->isComplete(
507 $this->testQuestionSetConfigFactory->getQuestionSetConfig()
508 );
509
510 $is_online = $this->test_object->getObjectProperties()->getPropertyIsOnline()
511 ->toForm($this->lng, $field_factory, $this->refinery);
512
513 if (sizeof(\ilObject::_getAllReferences($this->test_object->getId())) > 1) {
514 $is_online = $is_online->withByline(
515 $is_online->getByline() . ' ' . $this->lng->txt('rep_activation_online_object_info')
516 );
517 }
518
519 if (!$question_set_config_complete) {
520 $is_online = $is_online
521 ->withByline($this->lng->txt('cannot_switch_to_online_no_questions_andor_no_mark_steps'))
522 ->withDisabled(true);
523 }
524
525 return $is_online;
526 }
static _getAllReferences(int $id)
get all reference ids for object ID

References ilObject\_getAllReferences(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\UI\Component\Input\Container\Form\FormInput\withByline().

+ Here is the call graph for this function:

◆ getObjectDataArrayForLog()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::getObjectDataArrayForLog ( )
private

Definition at line 295 of file class.SettingsMainGUI.php.

295 : array
296 {
297 $title_and_description = $this->object_properties->getPropertyTitleAndDescription();
298 $log_array = [
299 AdditionalInformationGenerator::KEY_TEST_TITLE => $title_and_description->getTitle(),
300 AdditionalInformationGenerator::KEY_TEST_DESCRIPTION => $title_and_description->getDescription(),
302 ->getAdditionalInformationGenerator()->getTrueFalseTagForBool(
303 $this->object_properties->getPropertyIsOnline()->getIsOnline()
304 )
305 ];
306
307 return $log_array;
308 }

References ILIAS\Test\Logging\AdditionalInformationGenerator\KEY_TEST_DESCRIPTION, ILIAS\Test\Logging\AdditionalInformationGenerator\KEY_TEST_ONLINE, ILIAS\Test\Logging\AdditionalInformationGenerator\KEY_TEST_TITLE, and ILIAS\Repository\logger().

Referenced by ILIAS\Test\Settings\MainSettings\SettingsMainGUI\finalizeSave().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getOrganisationalUnitsActivationInput()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::getOrganisationalUnitsActivationInput ( )
protected

Definition at line 687 of file class.SettingsMainGUI.php.

687 : ?Checkbox
688 {
689 $position_settings = \ilOrgUnitGlobalSettings::getInstance()->getObjectPositionSettingsByType(
690 $this->test_object->getType()
691 );
692 if (!$position_settings->isActive()) {
693 return null;
694 }
695
696 $enable_organisational_units_access = $this->ui_factory->input()->field()
697 ->checkbox(
698 $this->lng->txt('obj_orgunit_positions'),
699 $this->lng->txt('obj_orgunit_positions_info')
700 )->withValue(
701 (new \ilOrgUnitObjectPositionSetting($this->test_object->getId()))->isActive()
702 ?? $position_settings->getActivationDefault() === \ilOrgUnitObjectTypePositionSetting::DEFAULT_ON
703 );
704 if (!$position_settings->isChangeableForObject()) {
705 return $enable_organisational_units_access->withDisabled(true);
706 }
707 return $enable_organisational_units_access;
708 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References ilOrgUnitObjectTypePositionSetting\DEFAULT_ON, ilOrgUnitGlobalSettings\getInstance(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ getParticipantsFunctionalitySettingsForStorage()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::getParticipantsFunctionalitySettingsForStorage ( array  $section)
private

Definition at line 630 of file class.SettingsMainGUI.php.

630 : SettingsParticipantFunctionality
631 {
632 return $this->main_settings->getParticipantFunctionalitySettings()
633 ->withUsePreviousAnswerAllowed($section['use_previous_answers'])
634 ->withSuspendTestAllowed($section['allow_suspend_test'])
635 ->withPostponedQuestionsMoveToEnd($section['postponed_questions_behaviour'])
636 ->withUsrPassOverviewMode($section['usr_pass_overview'])
637 ->withQuestionMarkingEnabled($section['enable_question_marking'])
638 ->withQuestionListEnabled($section['enable_question_list']);
639 }

References ILIAS\Test\Settings\MainSettings\SettingsParticipantFunctionality\withUsePreviousAnswerAllowed().

+ Here is the call graph for this function:

◆ getPresentationSettingsSection()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::getPresentationSettingsSection ( )
protected

Definition at line 533 of file class.SettingsMainGUI.php.

533 : Section
534 {
535 $input_factory = $this->ui_factory->input();
536
537 $custom_icon_input = $this->test_object->getObjectProperties()->getPropertyIcon()
538 ->toForm($this->lng, $input_factory->field(), $this->refinery);
539
540 if ($custom_icon_input !== null) {
541 $inputs['custom_icon'] = $custom_icon_input;
542 }
543 $inputs['tile_image'] = $this->test_object->getObjectProperties()->getPropertyTileImage()
544 ->toForm($this->lng, $input_factory->field(), $this->refinery);
545
546 return $input_factory->field()->section(
547 $inputs,
548 $this->lng->txt('tst_presentation_settings_section')
549 );
550 }

References ILIAS\UI\Implementation\Component\Input\$inputs, and ILIAS\Repository\lng().

Referenced by ILIAS\Test\Settings\MainSettings\SettingsMainGUI\buildForm().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getQuestionBehaviourSettingsForStorage()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::getQuestionBehaviourSettingsForStorage ( array  $section)
private

Definition at line 607 of file class.SettingsMainGUI.php.

607 : SettingsQuestionBehaviour
608 {
609 $question_behaviour_settings = $this->main_settings->getQuestionBehaviourSettings()
610 ->withQuestionTitleOutputMode($section['title_output'])
611 ->withAutosaveEnabled($section['autosave']['autosave_enabled'])
612 ->withAutosaveInterval($section['autosave']['autosave_interval'])
613 ->withShuffleQuestions($section['shuffle_questions']);
614
615 if ($this->test_object->participantDataExist()) {
616 return $question_behaviour_settings;
617 }
618
619 return $question_behaviour_settings
620 ->withInstantFeedbackPointsEnabled($section['instant_feedback']['enabled_feedback_types']['instant_feedback_points'])
621 ->withInstantFeedbackGenericEnabled($section['instant_feedback']['enabled_feedback_types']['instant_feedback_generic'])
622 ->withInstantFeedbackSpecificEnabled($section['instant_feedback']['enabled_feedback_types']['instant_feedback_specific'])
623 ->withInstantFeedbackSolutionEnabled($section['instant_feedback']['enabled_feedback_types']['instant_feedback_solution'])
624 ->withForceInstantFeedbackOnNextQuestion($section['instant_feedback']['feedback_on_next_question'])
625 ->withLockAnswerOnInstantFeedbackEnabled($section['lock_answers']['lock_answer_on_instant_feedback'])
626 ->withLockAnswerOnNextQuestionEnabled($section['lock_answers']['lock_answer_on_next_question']);
627 }

References ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour\withQuestionTitleOutputMode().

+ Here is the call graph for this function:

◆ getTestBehaviourSettingsForStorage()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::getTestBehaviourSettingsForStorage ( array  $section)
private

Definition at line 588 of file class.SettingsMainGUI.php.

588 : SettingsTestBehaviour
589 {
590 $test_behaviour_settings = $this->main_settings->getTestBehaviourSettings()
591 ->withKioskMode($section['kiosk_mode'])
592 ->withExamIdInTestAttemptEnabled($section['show_exam_id']);
593
594 if ($this->test_object->participantDataExist()) {
595 return $test_behaviour_settings;
596 }
597
598 return $test_behaviour_settings
599 ->withNumberOfTries($section['limit_attempts']['number_of_available_attempts'])
600 ->withBlockAfterPassedEnabled($section['limit_attempts']['block_after_passed'])
601 ->withPassWaiting($section['force_waiting_between_attempts'])
602 ->withProcessingTimeEnabled($section['time_limit_for_completion']['processing_time_limit'])
603 ->withProcessingTime($section['time_limit_for_completion']['time_limit_for_completion_value'])
604 ->withResetProcessingTime($section['time_limit_for_completion']['reset_time_limit_for_completion_by_attempt']);
605 }

References ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\withKioskMode().

+ Here is the call graph for this function:

◆ performSaveForm()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::performSaveForm ( array  $data)
private

Definition at line 402 of file class.SettingsMainGUI.php.

403 {
404 $old_online_status = $this->test_object->getObjectProperties()->getPropertyIsOnline()->getIsOnline();
405 $this->test_object->getObjectProperties()->storePropertyTitleAndDescription(
406 $data[self::GENERAL_SETTINGS_SECTION_LABEL]['title_and_description']
407 );
408 $general_settings = $this->getGeneralSettingsForStorage($data[self::GENERAL_SETTINGS_SECTION_LABEL]);
409
410 $this->saveAvailabilitySettingsSection($data[self::AVAILABILITY_SETTINGS_SECTION_LABEL]);
411 $this->savePresentationSettingsSection($data[self::PRESENTATION_SETTINGS_SECTION_LABEL]);
412
413 $introduction_settings = $this->getIntroductionSettingsForStorage(
414 $data[self::INTRODUCTION_SETTINGS_SECTION_LABEL]
415 );
416 $access_settings = $this->getAccessSettingsForStorage(
417 $data[self::ACCESS_SETTINGS_LABEL]
418 );
419 $test_behaviour_settings = $this->getTestBehaviourSettingsForStorage(
420 $data[self::TEST_BEHAVIOUR_SETTINGS_LABEL]
421 );
422 $question_behaviour_settings = $this->getQuestionBehaviourSettingsForStorage(
423 $data[self::QUESTION_BEHAVIOUR_SETTINGS_LABEL]
424 );
425 $participant_functionality_settings = $this->getParticipantsFunctionalitySettingsForStorage(
426 $data[self::PARTICIPANTS_FUNCTIONALITY_SETTINGS_LABEL]
427 );
428
429 $finishing_settings = $this->getFinishingSettingsForStorage($data[self::FINISH_TEST_SETTINGS_LABEL]);
430
431 if (array_key_exists(self::ADDITIONAL_FUNCTIONALITY_SETTINGS_LABEL, $data)
432 || array_key_exists(self::ECS_FUNCTIONALITY_SETTINGS_LABEL, $data)) {
434 }
435
436 $additional_settings = $this->getAdditionalFunctionalitySettingsForStorage(
437 $data[self::ADDITIONAL_FUNCTIONALITY_SETTINGS_LABEL] ?? []
438 );
439
440 $settings = new MainSettings(
441 $this->test_object->getTestId(),
442 $this->test_object->getId(),
443 $general_settings,
444 $introduction_settings,
445 $access_settings,
446 $test_behaviour_settings,
447 $question_behaviour_settings,
448 $participant_functionality_settings,
449 $finishing_settings,
450 $additional_settings
451 );
452 $this->main_settings_repository->store($settings);
453 $this->main_settings = $this->main_settings_repository->getFor($this->test_object->getTestId());
454 $this->test_object->read();
455 $this->test_object->addToNewsOnOnline(
456 $old_online_status,
457 $this->test_object->getObjectProperties()->getPropertyIsOnline()->getIsOnline()
458 );
459 }

References $data.

Referenced by ILIAS\Test\Settings\MainSettings\SettingsMainGUI\finalizeSave().

+ Here is the caller graph for this function:

◆ populateConfirmationModal()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::populateConfirmationModal ( ?string  $current_question_set_type,
?string  $new_question_set_type,
bool  $anonymity_modal_required 
)
private

Definition at line 360 of file class.SettingsMainGUI.php.

364 : InterruptiveModal {
365 $message = '';
366
367 if ($current_question_set_type !== null) {
368 $message .= sprintf(
369 $this->lng->txt('tst_change_quest_set_type_from_old_to_new_with_conflict'),
370 $this->test_object->getQuestionSetTypeTranslation($this->lng, $current_question_set_type),
371 $this->test_object->getQuestionSetTypeTranslation($this->lng, $new_question_set_type)
372 );
373 }
374
375 if ($current_question_set_type === \ilObjTest::QUESTION_SET_TYPE_FIXED
376 && $this->test_object->hasQuestionsWithoutQuestionpool()) {
377 $message .= '<br /><br />' . $this->lng->txt('tst_nonpool_questions_get_lost_warning');
378 }
379
380 if ($anonymity_modal_required) {
381 if ($message !== '') {
382 $message .= '<br /><br />';
383 }
384 $message .= $this->lng->txt('log_participant_data_delete_warning');
385 }
386
387 $this->tpl->addJavaScript('assets/js/settings_confirmation.js');
388 $on_load_code = static function (string $id): string {
389 return 'il.test.confirmSettings.init(' . $id . ')';
390 };
391
392 $modal = $this->ui_factory->modal()->interruptive(
393 $this->lng->txt('confirm'),
394 $message,
395 $this->ctrl->getFormActionByClass(self::class, self::CMD_CONFIRMED_SAVE_FORM)
396 )->withActionButtonLabel($this->lng->txt('confirm'))
397 ->withAdditionalOnLoadCode($on_load_code);
398
399 return $modal->withOnLoad($modal->getShowSignal());
400 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
const QUESTION_SET_TYPE_FIXED
$message
Definition: xapiexit.php:31

References $message, and ILIAS\Repository\lng().

Referenced by ILIAS\Test\Settings\MainSettings\SettingsMainGUI\saveForm().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ saveAdditionalFunctionalitySettingsSection()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::saveAdditionalFunctionalitySettingsSection ( array  $sections)
protected

Definition at line 710 of file class.SettingsMainGUI.php.

710 : void
711 {
712 if (array_key_exists(self::ECS_FUNCTIONALITY_SETTINGS_LABEL, $sections)) {
713 $ecs = new \ilECSTestSettings($this->test_object);
714 $ecs->saveSettingsSection($sections[self::ECS_FUNCTIONALITY_SETTINGS_LABEL]);
715 }
716
717 if (!array_key_exists(self::ADDITIONAL_FUNCTIONALITY_SETTINGS_LABEL, $sections)) {
718 return;
719 }
720
721 $additional_settings_section = $sections[self::ADDITIONAL_FUNCTIONALITY_SETTINGS_LABEL];
722 if (array_key_exists('organisational_units_activation', $additional_settings_section)) {
723 $this->saveOrganisationalUnitsActivation($additional_settings_section['organisational_units_activation']);
724 }
725 }

◆ saveAvailabilitySettingsSection()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::saveAvailabilitySettingsSection ( array  $section)
private

Definition at line 528 of file class.SettingsMainGUI.php.

528 : void
529 {
530 $this->test_object->getObjectProperties()->storePropertyIsOnline($section['is_online']);
531 }

◆ saveForm()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::saveForm ( )
private

Definition at line 224 of file class.SettingsMainGUI.php.

224 : void
225 {
226 try {
227 $form = $this->buildForm()->withRequest($this->request);
228 $data = $form->getData();
229 } catch (InvalidArgumentException) {
230 $this->ctrl->redirect($this, self::CMD_SHOW_FORM);
231 return;
232 }
233
234 if ($data === null) {
235 $this->showForm($form);
236 return;
237 }
238
239 $current_question_set_type = $this->main_settings->getGeneralSettings()->getQuestionSetType();
240 $current_question_config = $this->testQuestionSetConfigFactory->getQuestionSetConfig();
241 $new_question_set_type = $data[self::GENERAL_SETTINGS_SECTION_LABEL]['question_set_type'];
242
243 if ($new_question_set_type === null) {
244 $this->tpl->setOnScreenMessage('info', $this->lng->txt('tst_settings_form_reload_needed'));
245 $this->ctrl->redirect($this, self::CMD_SHOW_FORM);
246 return;
247 }
248
249 $question_set_modal_required = $new_question_set_type !== $current_question_set_type
250 && $current_question_config->doesQuestionSetRelatedDataExist();
251 $anonymity_modal_required = $this->anonymityChanged(
252 $data[self::GENERAL_SETTINGS_SECTION_LABEL]['anonymity']
253 );
254
255 if ($question_set_modal_required || $anonymity_modal_required) {
256 $modal = $this->populateConfirmationModal(
257 $question_set_modal_required ? $current_question_set_type : null,
258 $question_set_modal_required ? $new_question_set_type : null,
259 $anonymity_modal_required
260 );
261 $this->showForm($form, $modal);
262 return;
263 }
264
265 $this->finalizeSave($data);
266 }
populateConfirmationModal(?string $current_question_set_type, ?string $new_question_set_type, bool $anonymity_modal_required)

References $data, ILIAS\Test\Settings\MainSettings\SettingsMainGUI\anonymityChanged(), ILIAS\Test\Settings\MainSettings\SettingsMainGUI\buildForm(), ILIAS\Repository\ctrl(), ILIAS\Test\Settings\MainSettings\SettingsMainGUI\finalizeSave(), ILIAS\Test\Settings\MainSettings\SettingsMainGUI\GENERAL_SETTINGS_SECTION_LABEL, ILIAS\Repository\lng(), ILIAS\Test\Settings\MainSettings\SettingsMainGUI\populateConfirmationModal(), and ILIAS\Test\Settings\MainSettings\SettingsMainGUI\showForm().

+ Here is the call graph for this function:

◆ saveOrganisationalUnitsActivation()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::saveOrganisationalUnitsActivation ( bool  $activation)
protected

Definition at line 727 of file class.SettingsMainGUI.php.

727 : void
728 {
729 $position_settings = \ilOrgUnitGlobalSettings::getInstance()->getObjectPositionSettingsByType(
730 $this->test_object->getType()
731 );
732
733 if ($position_settings->isActive() && $position_settings->isChangeableForObject()) {
734 $orgu_object_settings = new \ilOrgUnitObjectPositionSetting($this->test_object->getId());
735 $orgu_object_settings->setActive(
736 $activation
737 );
738 $orgu_object_settings->update();
739 }
740 }

References ilOrgUnitGlobalSettings\getInstance().

+ Here is the call graph for this function:

◆ savePresentationSettingsSection()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::savePresentationSettingsSection ( array  $section)
protected

Definition at line 552 of file class.SettingsMainGUI.php.

552 : void
553 {
554 if (array_key_exists('custom_icon', $section)) {
555 $this->test_object->getObjectProperties()->storePropertyIcon($section['custom_icon']);
556 }
557 $this->test_object->getObjectProperties()->storePropertyTileImage($section['tile_image']);
558 }

◆ showForm()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::showForm ( ?StandardForm  $form = null,
?InterruptiveModal  $modal = null 
)
private

Definition at line 164 of file class.SettingsMainGUI.php.

164 : void
165 {
166 if ($form === null) {
167 $form = $this->buildForm();
168 }
169
170 if ($this->main_settings->getIntroductionSettings()->getIntroductionText() !== '') {
171 $this->toolbar->addComponent(
172 $this->ui_factory->link()->standard(
173 $this->lng->txt('show_old_introduction'),
174 $this->ctrl->getLinkTargetByClass(self::class, 'showOldIntroduction')
175 )
176 );
177 }
178
179 if ($this->main_settings->getFinishingSettings()->getConcludingRemarksText() !== '') {
180 $this->toolbar->addComponent(
181 $this->ui_factory->link()->standard(
182 $this->lng->txt('show_old_concluding_remarks'),
183 $this->ctrl->getLinkTargetByClass(self::class, 'showOldConcludingRemarks')
184 )
185 );
186 }
187
188 $rendered_modal = '';
189 if ($modal !== null) {
190 $rendered_modal = $this->ui_renderer->render($modal);
191 }
192
193 $this->tpl->setContent($this->ui_renderer->render($form) . $rendered_modal);
194 }

References ILIAS\Test\Settings\MainSettings\SettingsMainGUI\buildForm(), and ILIAS\Repository\toolbar().

Referenced by ILIAS\Test\Settings\MainSettings\SettingsMainGUI\confirmedSaveForm(), and ILIAS\Test\Settings\MainSettings\SettingsMainGUI\saveForm().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ showOldConcludingRemarks()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::showOldConcludingRemarks ( )
private

Definition at line 147 of file class.SettingsMainGUI.php.

147 : void
148 {
149 $this->toolbar->addComponent(
150 $this->ui_factory->link()->standard(
151 $this->lng->txt('back'),
152 $this->ctrl->getLinkTargetByClass(self::class, 'showForm')
153 )
154 );
155
156 $this->tpl->setContent(
158 $this->main_settings->getFinishingSettings()->getConcludingRemarksText(),
159 1
160 )
161 );
162 }
static _replaceMediaObjectImageSrc(string $a_text, int $a_direction=0, string $nic='')
Replaces image source from mob image urls with the mob id or replaces mob id with the correct image s...

References ilRTE\_replaceMediaObjectImageSrc(), and ILIAS\Repository\toolbar().

+ Here is the call graph for this function:

◆ showOldIntroduction()

ILIAS\Test\Settings\MainSettings\SettingsMainGUI::showOldIntroduction ( )
private

Definition at line 130 of file class.SettingsMainGUI.php.

130 : void
131 {
132 $this->toolbar->addComponent(
133 $this->ui_factory->link()->standard(
134 $this->lng->txt('back'),
135 $this->ctrl->getLinkTargetByClass(self::class, 'showForm')
136 )
137 );
138
139 $this->tpl->setContent(
141 $this->main_settings->getIntroductionSettings()->getIntroductionText(),
142 1
143 )
144 );
145 }

References ilRTE\_replaceMediaObjectImageSrc(), and ILIAS\Repository\toolbar().

+ Here is the call graph for this function:

Field Documentation

◆ $main_settings

MainSettings ILIAS\Test\Settings\MainSettings\SettingsMainGUI::$main_settings
protected

Definition at line 70 of file class.SettingsMainGUI.php.

◆ $main_settings_repository

MainSettingsRepository ILIAS\Test\Settings\MainSettings\SettingsMainGUI::$main_settings_repository
protected

Definition at line 71 of file class.SettingsMainGUI.php.

◆ $object_properties

ObjectProperties ILIAS\Test\Settings\MainSettings\SettingsMainGUI::$object_properties
protected

Definition at line 69 of file class.SettingsMainGUI.php.

◆ $testQuestionSetConfigFactory

ilTestQuestionSetConfigFactory ILIAS\Test\Settings\MainSettings\SettingsMainGUI::$testQuestionSetConfigFactory
private

Definition at line 73 of file class.SettingsMainGUI.php.

◆ ACCESS_SETTINGS_LABEL

const ILIAS\Test\Settings\MainSettings\SettingsMainGUI::ACCESS_SETTINGS_LABEL = 'access_settings'
private

Definition at line 61 of file class.SettingsMainGUI.php.

◆ ADDITIONAL_FUNCTIONALITY_SETTINGS_LABEL

const ILIAS\Test\Settings\MainSettings\SettingsMainGUI::ADDITIONAL_FUNCTIONALITY_SETTINGS_LABEL = 'additional_functionality_settings'
private

Definition at line 67 of file class.SettingsMainGUI.php.

◆ AVAILABILITY_SETTINGS_SECTION_LABEL

const ILIAS\Test\Settings\MainSettings\SettingsMainGUI::AVAILABILITY_SETTINGS_SECTION_LABEL = 'availability settings'
private

◆ CMD_CONFIRMED_RESET_TPL

const ILIAS\Test\Settings\MainSettings\SettingsMainGUI::CMD_CONFIRMED_RESET_TPL = 'confirmedResetTemplate'

Definition at line 55 of file class.SettingsMainGUI.php.

◆ CMD_CONFIRMED_SAVE_FORM

const ILIAS\Test\Settings\MainSettings\SettingsMainGUI::CMD_CONFIRMED_SAVE_FORM = 'confirmedSaveForm'

Definition at line 53 of file class.SettingsMainGUI.php.

◆ CMD_SAVE_FORM

const ILIAS\Test\Settings\MainSettings\SettingsMainGUI::CMD_SAVE_FORM = 'saveForm'

Definition at line 52 of file class.SettingsMainGUI.php.

◆ CMD_SHOW_FORM

const ILIAS\Test\Settings\MainSettings\SettingsMainGUI::CMD_SHOW_FORM = 'showForm'

Definition at line 51 of file class.SettingsMainGUI.php.

◆ CMD_SHOW_RESET_TPL_CONFIRM

const ILIAS\Test\Settings\MainSettings\SettingsMainGUI::CMD_SHOW_RESET_TPL_CONFIRM = 'showResetTemplateConfirmation'

Definition at line 54 of file class.SettingsMainGUI.php.

◆ ECS_FUNCTIONALITY_SETTINGS_LABEL

const ILIAS\Test\Settings\MainSettings\SettingsMainGUI::ECS_FUNCTIONALITY_SETTINGS_LABEL = 'ecs_settings'
private

Definition at line 66 of file class.SettingsMainGUI.php.

◆ FINISH_TEST_SETTINGS_LABEL

const ILIAS\Test\Settings\MainSettings\SettingsMainGUI::FINISH_TEST_SETTINGS_LABEL = 'finish_test_settings'
private

Definition at line 65 of file class.SettingsMainGUI.php.

◆ GENERAL_SETTINGS_SECTION_LABEL

const ILIAS\Test\Settings\MainSettings\SettingsMainGUI::GENERAL_SETTINGS_SECTION_LABEL = 'general_settings'
private

◆ INTRODUCTION_SETTINGS_SECTION_LABEL

const ILIAS\Test\Settings\MainSettings\SettingsMainGUI::INTRODUCTION_SETTINGS_SECTION_LABEL = 'introduction_settings'
private

Definition at line 60 of file class.SettingsMainGUI.php.

◆ PARTICIPANTS_FUNCTIONALITY_SETTINGS_LABEL

const ILIAS\Test\Settings\MainSettings\SettingsMainGUI::PARTICIPANTS_FUNCTIONALITY_SETTINGS_LABEL = 'participants_functionality_settings'
private

Definition at line 64 of file class.SettingsMainGUI.php.

◆ PRESENTATION_SETTINGS_SECTION_LABEL

const ILIAS\Test\Settings\MainSettings\SettingsMainGUI::PRESENTATION_SETTINGS_SECTION_LABEL = 'presentation_settings'
private

Definition at line 59 of file class.SettingsMainGUI.php.

◆ QUESTION_BEHAVIOUR_SETTINGS_LABEL

const ILIAS\Test\Settings\MainSettings\SettingsMainGUI::QUESTION_BEHAVIOUR_SETTINGS_LABEL = 'question_behaviour_settings'
private

Definition at line 63 of file class.SettingsMainGUI.php.

◆ TEST_BEHAVIOUR_SETTINGS_LABEL

const ILIAS\Test\Settings\MainSettings\SettingsMainGUI::TEST_BEHAVIOUR_SETTINGS_LABEL = 'test_behaviour_settings'
private

Definition at line 62 of file class.SettingsMainGUI.php.


The documentation for this class was generated from the following file: