ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Public Member Functions | |
__construct (int $test_id, protected int $number_of_tries=0, protected bool $block_after_passed_enabled=false, protected ?string $pass_waiting=null, protected bool $processing_time_enabled=false, protected ?string $processing_time=null, protected bool $reset_processing_time=false, protected int $kiosk_mode=0, protected bool $examid_in_test_attempt_enabled=false) | |
toForm (\ilLanguage $lng, FieldFactory $f, Refinery $refinery, ?array $environment=null) | |
toStorage () | |
toLog (AdditionalInformationGenerator $additional_info) | |
getNumberOfTries () | |
withNumberOfTries (int $number_of_tries) | |
getBlockAfterPassedEnabled () | |
withBlockAfterPassedEnabled (bool $block_after_passed_enabled) | |
getPassWaiting () | |
withPassWaiting (?string $pass_waiting) | |
getPassWaitingEnabled () | |
getProcessingTimeEnabled () | |
withProcessingTimeEnabled (bool $processing_time_enabled) | |
getProcessingTime () | |
withProcessingTime (?string $processing_time) | |
getProcessingTimeAsMinutes () | |
getResetProcessingTime () | |
withResetProcessingTime (bool $reset_processing_time) | |
getKioskMode () | |
withKioskMode (int $kiosk_mode) | |
getKioskModeEnabled () | |
getShowTitleInKioskMode () | |
getShowParticipantNameInKioskMode () | |
getExamIdInTestAttemptEnabled () | |
withExamIdInTestAttemptEnabled (bool $exam_id_in_test_pass_enabled) | |
![]() | |
__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 | |
getInputLimitAttempts (\ilLanguage $lng, FieldFactory $f, Refinery $refinery, array $environment) | |
getInputForceWaitingBetweenAttempts (\ilLanguage $lng, FieldFactory $f, Refinery $refinery, array $environment) | |
getSubInputsForceWaitingBetweenAttempts (\ilLanguage $lng, FieldFactory $f, Refinery $refinery) | |
cleanupPassWaiting (?string $pass_waiting) | |
getInputTimeLimitForCompletion (\ilLanguage $lng, FieldFactory $f, Refinery $refinery, array $environment) | |
getInputKioskMode (\ilLanguage $lng, FieldFactory $f, Refinery $refinery) | |
Private Attributes | |
const | DEFAULT_PROCESSING_TIME_MINUTES = 90 |
Additional Inherited Members | |
![]() | |
int | $test_id |
Definition at line 29 of file SettingsTestBehaviour.php.
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::__construct | ( | int | $test_id, |
protected int | $number_of_tries = 0 , |
||
protected bool | $block_after_passed_enabled = false , |
||
protected ?string | $pass_waiting = null , |
||
protected bool | $processing_time_enabled = false , |
||
protected ?string | $processing_time = null , |
||
protected bool | $reset_processing_time = false , |
||
protected int | $kiosk_mode = 0 , |
||
protected bool | $examid_in_test_attempt_enabled = false |
||
) |
Definition at line 33 of file SettingsTestBehaviour.php.
References ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\cleanupPassWaiting().
|
private |
Definition at line 203 of file SettingsTestBehaviour.php.
References null.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\__construct(), and ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\withPassWaiting().
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::getBlockAfterPassedEnabled | ( | ) |
Definition at line 391 of file SettingsTestBehaviour.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getInputLimitAttempts(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\toLog(), and ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\toStorage().
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::getExamIdInTestAttemptEnabled | ( | ) |
Definition at line 498 of file SettingsTestBehaviour.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\toForm(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\toLog(), and ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\toStorage().
|
private |
Definition at line 136 of file SettingsTestBehaviour.php.
References ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getPassWaiting(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getPassWaitingEnabled(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getSubInputsForceWaitingBetweenAttempts(), null, ilLanguage\txt(), and ILIAS\UI\Implementation\Component\Input\withValue().
Referenced by ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\toForm().
|
private |
Definition at line 286 of file SettingsTestBehaviour.php.
References ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getKioskMode(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getShowParticipantNameInKioskMode(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getShowTitleInKioskMode(), null, ilLanguage\txt(), and ILIAS\UI\Implementation\Component\Input\withValue().
Referenced by ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\toForm().
|
private |
Definition at line 82 of file SettingsTestBehaviour.php.
References ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getBlockAfterPassedEnabled(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getNumberOfTries(), null, ilLanguage\txt(), and ILIAS\UI\Implementation\Component\Input\withValue().
Referenced by ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\toForm().
|
private |
Definition at line 222 of file SettingsTestBehaviour.php.
References ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getProcessingTimeAsMinutes(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getProcessingTimeEnabled(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getResetProcessingTime(), null, ilLanguage\txt(), and ILIAS\UI\Implementation\Component\Input\withValue().
Referenced by ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\toForm().
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::getKioskMode | ( | ) |
Definition at line 471 of file SettingsTestBehaviour.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getInputKioskMode(), and ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\toStorage().
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::getKioskModeEnabled | ( | ) |
Definition at line 483 of file SettingsTestBehaviour.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\toLog().
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::getNumberOfTries | ( | ) |
Definition at line 379 of file SettingsTestBehaviour.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getInputLimitAttempts(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\toLog(), and ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\toStorage().
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::getPassWaiting | ( | ) |
Definition at line 403 of file SettingsTestBehaviour.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getInputForceWaitingBetweenAttempts(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\toLog(), and ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\toStorage().
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::getPassWaitingEnabled | ( | ) |
Definition at line 415 of file SettingsTestBehaviour.php.
References null.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getInputForceWaitingBetweenAttempts(), and ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\toLog().
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::getProcessingTime | ( | ) |
Definition at line 438 of file SettingsTestBehaviour.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\toStorage().
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::getProcessingTimeAsMinutes | ( | ) |
Definition at line 450 of file SettingsTestBehaviour.php.
References ILIAS\Repository\int(), and null.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getInputTimeLimitForCompletion(), and ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\toLog().
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::getProcessingTimeEnabled | ( | ) |
Definition at line 426 of file SettingsTestBehaviour.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getInputTimeLimitForCompletion(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\toLog(), and ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\toStorage().
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::getResetProcessingTime | ( | ) |
Definition at line 459 of file SettingsTestBehaviour.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getInputTimeLimitForCompletion(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\toLog(), and ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\toStorage().
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::getShowParticipantNameInKioskMode | ( | ) |
Definition at line 493 of file SettingsTestBehaviour.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getInputKioskMode(), and ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\toLog().
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::getShowTitleInKioskMode | ( | ) |
Definition at line 488 of file SettingsTestBehaviour.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getInputKioskMode(), and ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\toLog().
|
private |
Definition at line 180 of file SettingsTestBehaviour.php.
References ilLanguage\txt(), and ILIAS\UI\Implementation\Component\Input\ViewControl\withAdditionalTransformation().
Referenced by ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getInputForceWaitingBetweenAttempts().
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::toForm | ( | \ilLanguage | $lng, |
FieldFactory | $f, | ||
Refinery | $refinery, | ||
?array | $environment = null |
||
) |
Definition at line 48 of file SettingsTestBehaviour.php.
References ILIAS\UI\Implementation\Component\Input\$inputs, ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getExamIdInTestAttemptEnabled(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getInputForceWaitingBetweenAttempts(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getInputKioskMode(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getInputLimitAttempts(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getInputTimeLimitForCompletion(), ilLanguage\txt(), and ILIAS\UI\Implementation\Component\Input\withValue().
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::toLog | ( | AdditionalInformationGenerator | $additional_info | ) |
Definition at line 346 of file SettingsTestBehaviour.php.
References ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getBlockAfterPassedEnabled(), ILIAS\Test\Logging\AdditionalInformationGenerator\getEnabledDisabledTagForBool(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getExamIdInTestAttemptEnabled(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getKioskModeEnabled(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getNumberOfTries(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getPassWaiting(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getPassWaitingEnabled(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getProcessingTimeAsMinutes(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getProcessingTimeEnabled(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getResetProcessingTime(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getShowParticipantNameInKioskMode(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getShowTitleInKioskMode(), ILIAS\Test\Logging\AdditionalInformationGenerator\KEY_TEST_BLOCK_AFTER_PASSED, ILIAS\Test\Logging\AdditionalInformationGenerator\KEY_TEST_KIOSK_ENABLED, ILIAS\Test\Logging\AdditionalInformationGenerator\KEY_TEST_KIOSK_SHOW_PARTICIPANT_NAME, ILIAS\Test\Logging\AdditionalInformationGenerator\KEY_TEST_KIOSK_SHOW_TITLE, ILIAS\Test\Logging\AdditionalInformationGenerator\KEY_TEST_LIMIT_NR_OF_TRIES, ILIAS\Test\Logging\AdditionalInformationGenerator\KEY_TEST_PASSWAITING_ENABLED, ILIAS\Test\Logging\AdditionalInformationGenerator\KEY_TEST_PROCESSING_TIME_ENABLED, ILIAS\Test\Logging\AdditionalInformationGenerator\KEY_TEST_RESET_PROCESSING_TIME, and ILIAS\Test\Logging\AdditionalInformationGenerator\KEY_TEST_SHOW_EXAM_ID.
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::toStorage | ( | ) |
Definition at line 332 of file SettingsTestBehaviour.php.
References ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getBlockAfterPassedEnabled(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getExamIdInTestAttemptEnabled(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getKioskMode(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getNumberOfTries(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getPassWaiting(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getProcessingTime(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getProcessingTimeEnabled(), ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\getResetProcessingTime(), and ILIAS\Repository\int().
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::withBlockAfterPassedEnabled | ( | bool | $block_after_passed_enabled | ) |
Definition at line 396 of file SettingsTestBehaviour.php.
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::withExamIdInTestAttemptEnabled | ( | bool | $exam_id_in_test_pass_enabled | ) |
Definition at line 503 of file SettingsTestBehaviour.php.
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::withKioskMode | ( | int | $kiosk_mode | ) |
Definition at line 476 of file SettingsTestBehaviour.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsMainGUI\getTestBehaviourSettingsForStorage().
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::withNumberOfTries | ( | int | $number_of_tries | ) |
Definition at line 384 of file SettingsTestBehaviour.php.
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::withPassWaiting | ( | ?string | $pass_waiting | ) |
Definition at line 408 of file SettingsTestBehaviour.php.
References ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour\cleanupPassWaiting().
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::withProcessingTime | ( | ?string | $processing_time | ) |
Definition at line 443 of file SettingsTestBehaviour.php.
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::withProcessingTimeEnabled | ( | bool | $processing_time_enabled | ) |
Definition at line 431 of file SettingsTestBehaviour.php.
ILIAS\Test\Settings\MainSettings\SettingsTestBehaviour::withResetProcessingTime | ( | bool | $reset_processing_time | ) |
Definition at line 464 of file SettingsTestBehaviour.php.
|
private |
Definition at line 31 of file SettingsTestBehaviour.php.