ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct (int $test_id, protected bool $start_time_enabled=false, protected ?\DateTimeImmutable $start_time=null, protected bool $end_time_enabled=false, protected ?\DateTimeImmutable $end_time=null, protected bool $password_enabled=false, protected ?string $password=null, protected ?string $ip_range_from=null, protected ?string $ip_range_to=null, protected bool $fixed_participants=false) | |
toForm (\ilLanguage $lng, FieldFactory $f, Refinery $refinery, ?array $environment=null) | |
toStorage () | |
toLog (AdditionalInformationGenerator $additional_info) | |
getStartTimeEnabled () | |
withStartTimeEnabled (bool $start_time_enabled) | |
getStartTime () | |
withStartTime (?\DateTimeImmutable $start_time) | |
getEndTimeEnabled () | |
withEndTimeEnabled (bool $end_time_enabled) | |
getEndTime () | |
withEndTime (?\DateTimeImmutable $end_time) | |
getPasswordEnabled () | |
withPasswordEnabled (bool $password_enabled) | |
getPassword () | |
withPassword (?string $password) | |
getIpRangeFrom () | |
withIpRangeFrom (?string $ip_range_from) | |
getIpRangeTo () | |
withIpRangeTo (?string $ip_range_to) | |
isIpRangeEnabled () | |
getFixedParticipants () | |
withFixedParticipants (bool $fixed_participants) | |
![]() | |
__construct (int $test_id) | |
getTestId () | |
withTestId (int $test_id) | |
toForm (\ilLanguage $lng, FieldFactory $f, Refinery $refinery, ?array $environment=null) | |
toStorage () | |
toLog (AdditionalInformationGenerator $additional_info) | |
Private Member Functions | |
getInputAccessWindow (\ilLanguage $lng, FieldFactory $f, Refinery $refinery, ?array $environment=null) | |
getSubInputsAccessWindow (\ilLanguage $lng, FieldFactory $f, array $environment) | |
getInputPassword (\ilLanguage $lng, FieldFactory $f, Refinery $refinery) | |
getInputIpRange (\ilLanguage $lng, FieldFactory $f, Refinery $refinery) | |
checkIpRangeValidity (string $start, string $end) | |
Private Attributes | |
const | MAX_PASSWORD_LENGTH = 20 |
Additional Inherited Members | |
![]() | |
int | $test_id |
Definition at line 31 of file SettingsAccess.php.
ILIAS\Test\Settings\MainSettings\SettingsAccess::__construct | ( | int | $test_id, |
protected bool | $start_time_enabled = false , |
||
protected ?\DateTimeImmutable | $start_time = null , |
||
protected bool | $end_time_enabled = false , |
||
protected ?\DateTimeImmutable | $end_time = null , |
||
protected bool | $password_enabled = false , |
||
protected ?string | $password = null , |
||
protected ?string | $ip_range_from = null , |
||
protected ?string | $ip_range_to = null , |
||
protected bool | $fixed_participants = false |
||
) |
Definition at line 35 of file SettingsAccess.php.
References ILIAS\GlobalScreen\Provider\__construct().
|
private |
Definition at line 231 of file SettingsAccess.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsAccess\getInputIpRange().
ILIAS\Test\Settings\MainSettings\SettingsAccess::getEndTime | ( | ) |
Definition at line 317 of file SettingsAccess.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsAccess\getSubInputsAccessWindow(), ILIAS\Test\Settings\MainSettings\SettingsAccess\toLog(), and ILIAS\Test\Settings\MainSettings\SettingsAccess\toStorage().
ILIAS\Test\Settings\MainSettings\SettingsAccess::getEndTimeEnabled | ( | ) |
Definition at line 306 of file SettingsAccess.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsAccess\toStorage().
ILIAS\Test\Settings\MainSettings\SettingsAccess::getFixedParticipants | ( | ) |
Definition at line 377 of file SettingsAccess.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsAccess\toForm(), ILIAS\Test\Settings\MainSettings\SettingsAccess\toLog(), and ILIAS\Test\Settings\MainSettings\SettingsAccess\toStorage().
|
private |
Definition at line 72 of file SettingsAccess.php.
References ILIAS\Test\Settings\MainSettings\SettingsAccess\getSubInputsAccessWindow(), null, and ilLanguage\txt().
Referenced by ILIAS\Test\Settings\MainSettings\SettingsAccess\toForm().
|
private |
Definition at line 168 of file SettingsAccess.php.
References ILIAS\Test\Settings\MainSettings\SettingsAccess\checkIpRangeValidity(), ILIAS\Test\Settings\MainSettings\SettingsAccess\getIpRangeFrom(), ILIAS\Test\Settings\MainSettings\SettingsAccess\getIpRangeTo(), ILIAS\Test\Settings\MainSettings\SettingsAccess\isIpRangeEnabled(), null, ilLanguage\txt(), ILIAS\UI\Implementation\Component\Input\ViewControl\withAdditionalTransformation(), and ILIAS\UI\Implementation\Component\Input\withValue().
Referenced by ILIAS\Test\Settings\MainSettings\SettingsAccess\toForm().
|
private |
Definition at line 130 of file SettingsAccess.php.
References ILIAS\Test\Settings\MainSettings\SettingsAccess\getPassword(), ILIAS\Test\Settings\MainSettings\SettingsAccess\getPasswordEnabled(), null, ilLanguage\txt(), and ILIAS\UI\Implementation\Component\Input\withValue().
Referenced by ILIAS\Test\Settings\MainSettings\SettingsAccess\toForm().
ILIAS\Test\Settings\MainSettings\SettingsAccess::getIpRangeFrom | ( | ) |
Definition at line 350 of file SettingsAccess.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsAccess\getInputIpRange(), ilTestAccess\isIpAllowedToAccessTest(), ILIAS\Test\Settings\MainSettings\SettingsAccess\toLog(), and ILIAS\Test\Settings\MainSettings\SettingsAccess\toStorage().
ILIAS\Test\Settings\MainSettings\SettingsAccess::getIpRangeTo | ( | ) |
Definition at line 361 of file SettingsAccess.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsAccess\getInputIpRange(), ilTestAccess\isIpAllowedToAccessTest(), ILIAS\Test\Settings\MainSettings\SettingsAccess\toLog(), and ILIAS\Test\Settings\MainSettings\SettingsAccess\toStorage().
ILIAS\Test\Settings\MainSettings\SettingsAccess::getPassword | ( | ) |
Definition at line 339 of file SettingsAccess.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsAccess\getInputPassword(), ILIAS\Test\Settings\MainSettings\SettingsAccess\toLog(), and ILIAS\Test\Settings\MainSettings\SettingsAccess\toStorage().
ILIAS\Test\Settings\MainSettings\SettingsAccess::getPasswordEnabled | ( | ) |
Definition at line 328 of file SettingsAccess.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsAccess\getInputPassword(), and ILIAS\Test\Settings\MainSettings\SettingsAccess\toStorage().
ILIAS\Test\Settings\MainSettings\SettingsAccess::getStartTime | ( | ) |
Definition at line 295 of file SettingsAccess.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsAccess\getSubInputsAccessWindow(), ILIAS\Test\Settings\MainSettings\SettingsAccess\toLog(), and ILIAS\Test\Settings\MainSettings\SettingsAccess\toStorage().
ILIAS\Test\Settings\MainSettings\SettingsAccess::getStartTimeEnabled | ( | ) |
Definition at line 284 of file SettingsAccess.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsAccess\toStorage().
|
private |
Definition at line 97 of file SettingsAccess.php.
References ILIAS\Test\Settings\MainSettings\SettingsAccess\getEndTime(), ILIAS\Test\Settings\MainSettings\SettingsAccess\getStartTime(), null, and ilLanguage\txt().
Referenced by ILIAS\Test\Settings\MainSettings\SettingsAccess\getInputAccessWindow().
ILIAS\Test\Settings\MainSettings\SettingsAccess::isIpRangeEnabled | ( | ) |
Definition at line 372 of file SettingsAccess.php.
References null.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsAccess\getInputIpRange(), ilTestAccess\isIpAllowedToAccessTest(), and ILIAS\Test\Settings\MainSettings\SettingsAccess\toLog().
ILIAS\Test\Settings\MainSettings\SettingsAccess::toForm | ( | \ilLanguage | $lng, |
FieldFactory | $f, | ||
Refinery | $refinery, | ||
?array | $environment = null |
||
) |
Definition at line 50 of file SettingsAccess.php.
References ILIAS\UI\Implementation\Component\Input\$inputs, ILIAS\Test\Settings\MainSettings\SettingsAccess\getFixedParticipants(), ILIAS\Test\Settings\MainSettings\SettingsAccess\getInputAccessWindow(), ILIAS\Test\Settings\MainSettings\SettingsAccess\getInputIpRange(), ILIAS\Test\Settings\MainSettings\SettingsAccess\getInputPassword(), ilLanguage\txt(), and ILIAS\UI\Implementation\Component\Input\withValue().
ILIAS\Test\Settings\MainSettings\SettingsAccess::toLog | ( | AdditionalInformationGenerator | $additional_info | ) |
Definition at line 260 of file SettingsAccess.php.
References ILIAS\Test\Logging\AdditionalInformationGenerator\DATE_STORAGE_FORMAT, ILIAS\Test\Logging\AdditionalInformationGenerator\getEnabledDisabledTagForBool(), ILIAS\Test\Settings\MainSettings\SettingsAccess\getEndTime(), ILIAS\Test\Settings\MainSettings\SettingsAccess\getFixedParticipants(), ILIAS\Test\Settings\MainSettings\SettingsAccess\getIpRangeFrom(), ILIAS\Test\Settings\MainSettings\SettingsAccess\getIpRangeTo(), ILIAS\Test\Logging\AdditionalInformationGenerator\getNoneTag(), ILIAS\Test\Settings\MainSettings\SettingsAccess\getPassword(), ILIAS\Test\Settings\MainSettings\SettingsAccess\getStartTime(), ILIAS\Test\Settings\MainSettings\SettingsAccess\isIpRangeEnabled(), ILIAS\Test\Logging\AdditionalInformationGenerator\KEY_TEST_END_TIME, ILIAS\Test\Logging\AdditionalInformationGenerator\KEY_TEST_FIXED_PARTICIPANTS, ILIAS\Test\Logging\AdditionalInformationGenerator\KEY_TEST_IP_RANGE, ILIAS\Test\Logging\AdditionalInformationGenerator\KEY_TEST_PASSWORD, and ILIAS\Test\Logging\AdditionalInformationGenerator\KEY_TEST_START_TIME.
ILIAS\Test\Settings\MainSettings\SettingsAccess::toStorage | ( | ) |
Definition at line 245 of file SettingsAccess.php.
References ILIAS\Test\Settings\MainSettings\SettingsAccess\getEndTime(), ILIAS\Test\Settings\MainSettings\SettingsAccess\getEndTimeEnabled(), ILIAS\Test\Settings\MainSettings\SettingsAccess\getFixedParticipants(), ILIAS\Test\Settings\MainSettings\SettingsAccess\getIpRangeFrom(), ILIAS\Test\Settings\MainSettings\SettingsAccess\getIpRangeTo(), ILIAS\Test\Settings\MainSettings\SettingsAccess\getPassword(), ILIAS\Test\Settings\MainSettings\SettingsAccess\getPasswordEnabled(), ILIAS\Test\Settings\MainSettings\SettingsAccess\getStartTime(), ILIAS\Test\Settings\MainSettings\SettingsAccess\getStartTimeEnabled(), ILIAS\Repository\int(), and null.
ILIAS\Test\Settings\MainSettings\SettingsAccess::withEndTime | ( | ?\DateTimeImmutable | $end_time | ) |
Definition at line 321 of file SettingsAccess.php.
ILIAS\Test\Settings\MainSettings\SettingsAccess::withEndTimeEnabled | ( | bool | $end_time_enabled | ) |
Definition at line 310 of file SettingsAccess.php.
ILIAS\Test\Settings\MainSettings\SettingsAccess::withFixedParticipants | ( | bool | $fixed_participants | ) |
Definition at line 381 of file SettingsAccess.php.
ILIAS\Test\Settings\MainSettings\SettingsAccess::withIpRangeFrom | ( | ?string | $ip_range_from | ) |
Definition at line 354 of file SettingsAccess.php.
ILIAS\Test\Settings\MainSettings\SettingsAccess::withIpRangeTo | ( | ?string | $ip_range_to | ) |
Definition at line 365 of file SettingsAccess.php.
ILIAS\Test\Settings\MainSettings\SettingsAccess::withPassword | ( | ?string | $password | ) |
Definition at line 343 of file SettingsAccess.php.
ILIAS\Test\Settings\MainSettings\SettingsAccess::withPasswordEnabled | ( | bool | $password_enabled | ) |
Definition at line 332 of file SettingsAccess.php.
ILIAS\Test\Settings\MainSettings\SettingsAccess::withStartTime | ( | ?\DateTimeImmutable | $start_time | ) |
Definition at line 299 of file SettingsAccess.php.
ILIAS\Test\Settings\MainSettings\SettingsAccess::withStartTimeEnabled | ( | bool | $start_time_enabled | ) |
Definition at line 288 of file SettingsAccess.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsMainGUI\getAccessSettingsForStorage().
|
private |
Definition at line 33 of file SettingsAccess.php.