ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilObjTestFolder.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21use ILIAS\Test\Settings\GlobalSettings\Repository as GlobalSettingsRepository;
24
32{
34
35 public const ASS_PROC_LOCK_MODE_NONE = 'none';
36 public const ASS_PROC_LOCK_MODE_FILE = 'file';
37 public const ASS_PROC_LOCK_MODE_DB = 'db';
38
39 private GlobalSettingsRepository $global_settings_repository;
41
43
44 public function __construct(int $a_id = 0, bool $a_call_by_reference = true)
45 {
46 $this->setting = new \ilSetting('assessment');
47 $this->type = 'assf';
48 $local_dic = TestDIC::dic();
49 $this->global_settings_repository = $local_dic['settings.global.repository'];
50 $this->test_log_viewer = $local_dic['logging.viewer'];
51
52 parent::__construct($a_id, $a_call_by_reference);
53 }
54
55 public function getGlobalSettingsRepository(): GlobalSettingsRepository
56 {
58 }
59
61 {
63 }
64}
Class ilObjTestFolder.
const ADDITIONAL_QUESTION_CONTENT_EDITING_MODE_PAGE_OBJECT_DISABLED
const ASS_PROC_LOCK_MODE_NONE
const ASS_PROC_LOCK_MODE_FILE
__construct(int $a_id=0, bool $a_call_by_reference=true)
TestLogViewer $test_log_viewer
GlobalSettingsRepository $global_settings_repository
Class ilObject Basic functions for all objects.
ILIAS Setting Class.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc