ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct (ilLanguage $lng, UIServices $ui, ilCtrl $ctrl) | |
getLostPools () | |
setLostPools (array $lostPools) | |
doesParticipantDataExists () | |
setParticipantDataExists (bool $participantDataExists) | |
getTargetGUI () | |
setTargetGUI (ilTestRandomQuestionSetConfigGUI $targetGUI) | |
getContext () | |
setContext (string $context) | |
getQuestionSetConfig () | |
setQuestionSetConfig (ilTestRandomQuestionSetConfig $questionSetConfig) | |
isValidationFailed () | |
getValidationReportHtml () | |
hasValidationReports () | |
getSyncInfoMessage () | |
handle () | |
Data Fields | |
const | CONTEXT_GENERAL_CONFIG = 'generalConfigContext' |
const | CONTEXT_POOL_SELECTION = 'poolSelectionContext' |
Protected Member Functions | |
setValidationFailed (bool $validationFailed) | |
addValidationReport (string $validationReport) | |
setSyncInfoMessage (string $message) | |
buildLostPoolsReportMessage () | |
buildLastSyncMessage () | |
buildNotSyncedMessage () | |
Protected Attributes | |
UIServices | $ui |
ilLanguage | $lng |
ilCtrl | $ctrl |
ilTestRandomQuestionSetConfigGUI | $targetGUI |
string | $context |
bool | $participantDataExists |
array | $lostPools |
ilTestRandomQuestionSetConfig | $questionSetConfig |
bool | $validationFailed = false |
array | $validationReports = [] |
string | $sync_info_message = '' |
Definition at line 28 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
ilTestRandomQuestionSetConfigStateMessageHandler::__construct | ( | ilLanguage | $lng, |
UIServices | $ui, | ||
ilCtrl | $ctrl | ||
) |
Definition at line 52 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References $ctrl, $lng, $ui, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\ui().
|
protected |
Definition at line 143 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
Referenced by handle().
|
private |
Definition at line 238 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References ilTestRandomQuestionSetConfigGUI\CMD_SHOW_GENERAL_CONFIG_FORM, ILIAS\Repository\ctrl(), getTargetGUI(), and ILIAS\Repository\lng().
Referenced by handle().
|
protected |
Definition at line 335 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References $message, ilTestRandomQuestionSetConfigGUI\CMD_RESET_POOLSYNC, ILIAS\Repository\ctrl(), doesParticipantDataExists(), ilDatePresentation\formatDate(), IL_CAL_UNIX, ILIAS\Repository\lng(), and ILIAS\Repository\ui().
Referenced by handle().
|
protected |
Definition at line 309 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References buildLostQuestionPoolsString(), ilTestRandomQuestionSetConfigGUI\CMD_SHOW_SRC_POOL_DEF_LIST, ILIAS\Repository\ctrl(), getContext(), getTargetGUI(), ILIAS\Repository\lng(), and ILIAS\Repository\ui().
Referenced by handle().
|
private |
Definition at line 196 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References getLostPools().
Referenced by buildLostPoolsReportMessage().
|
protected |
Definition at line 365 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References $message, buildQuestionStageRebuildButton(), ILIAS\Repository\lng(), and ILIAS\Repository\ui().
Referenced by handle().
|
private |
Definition at line 250 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References ilTestRandomQuestionSetConfigGUI\CMD_SHOW_SRC_POOL_DEF_LIST, ILIAS\Repository\ctrl(), getTargetGUI(), and ILIAS\Repository\lng().
Referenced by handle().
|
private |
Definition at line 221 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References ilTestRandomQuestionSetConfigGUI\CMD_BUILD_QUESTION_STAGE, ILIAS\Repository\ctrl(), getAfterRebuildQuestionStageCommand(), getTargetGUI(), ilTestRandomQuestionSetConfigGUI\HTTP_PARAM_AFTER_REBUILD_QUESTION_STAGE_CMD, ILIAS\Repository\lng(), and ILIAS\Repository\ui().
Referenced by buildNotSyncedMessage().
ilTestRandomQuestionSetConfigStateMessageHandler::doesParticipantDataExists | ( | ) |
Definition at line 83 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References $participantDataExists.
Referenced by buildLastSyncMessage().
|
private |
Definition at line 207 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References ilTestRandomQuestionSetConfigGUI\CMD_SHOW_GENERAL_CONFIG_FORM, ilTestRandomQuestionSetConfigGUI\CMD_SHOW_SRC_POOL_DEF_LIST, and getContext().
Referenced by buildQuestionStageRebuildButton().
ilTestRandomQuestionSetConfigStateMessageHandler::getContext | ( | ) |
Definition at line 103 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References $context.
Referenced by buildLostPoolsReportMessage(), getAfterRebuildQuestionStageCommand(), isNoAvailableQuestionPoolsHintRequired(), isQuestionAmountConfigPerPoolHintRequired(), and isQuestionAmountConfigPerTestHintRequired().
ilTestRandomQuestionSetConfigStateMessageHandler::getLostPools | ( | ) |
Definition at line 67 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References $lostPools.
Referenced by buildLostQuestionPoolsString(), and handle().
ilTestRandomQuestionSetConfigStateMessageHandler::getQuestionSetConfig | ( | ) |
Definition at line 113 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References $questionSetConfig.
ilTestRandomQuestionSetConfigStateMessageHandler::getSyncInfoMessage | ( | ) |
Definition at line 148 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References $sync_info_message.
ilTestRandomQuestionSetConfigStateMessageHandler::getTargetGUI | ( | ) |
Definition at line 93 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References $targetGUI.
Referenced by buildGeneralConfigSubTabLink(), buildLostPoolsReportMessage(), buildQuestionSelectionSubTabLink(), and buildQuestionStageRebuildButton().
ilTestRandomQuestionSetConfigStateMessageHandler::getValidationReportHtml | ( | ) |
Definition at line 133 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
ilTestRandomQuestionSetConfigStateMessageHandler::handle | ( | ) |
Definition at line 158 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References addValidationReport(), buildGeneralConfigSubTabLink(), buildLastSyncMessage(), buildLostPoolsReportMessage(), buildNotSyncedMessage(), buildQuestionSelectionSubTabLink(), getLostPools(), isNoAvailableQuestionPoolsHintRequired(), isQuestionAmountConfigPerPoolHintRequired(), isQuestionAmountConfigPerTestHintRequired(), ILIAS\Repository\lng(), setSyncInfoMessage(), and setValidationFailed().
ilTestRandomQuestionSetConfigStateMessageHandler::hasValidationReports | ( | ) |
Definition at line 138 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
|
private |
$currentRequestCmd |
Definition at line 266 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References getContext().
Referenced by handle().
|
private |
$currentRequestCmd |
Definition at line 283 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References getContext().
Referenced by handle().
|
private |
Definition at line 296 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References getContext().
Referenced by handle().
ilTestRandomQuestionSetConfigStateMessageHandler::isValidationFailed | ( | ) |
Definition at line 123 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References $validationFailed.
ilTestRandomQuestionSetConfigStateMessageHandler::setContext | ( | string | $context | ) |
Definition at line 108 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References $context.
ilTestRandomQuestionSetConfigStateMessageHandler::setLostPools | ( | array | $lostPools | ) |
ilTestRandomQuestionSetNonAvailablePool[] | $lostPools |
Definition at line 75 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References $lostPools.
ilTestRandomQuestionSetConfigStateMessageHandler::setParticipantDataExists | ( | bool | $participantDataExists | ) |
Definition at line 88 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References $participantDataExists.
ilTestRandomQuestionSetConfigStateMessageHandler::setQuestionSetConfig | ( | ilTestRandomQuestionSetConfig | $questionSetConfig | ) |
Definition at line 118 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References $questionSetConfig.
|
protected |
Definition at line 153 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References $message.
Referenced by handle().
ilTestRandomQuestionSetConfigStateMessageHandler::setTargetGUI | ( | ilTestRandomQuestionSetConfigGUI | $targetGUI | ) |
Definition at line 98 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References $targetGUI.
|
protected |
Definition at line 128 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
References $validationFailed.
Referenced by handle().
|
protected |
Definition at line 38 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
Referenced by getContext(), and setContext().
|
protected |
Definition at line 32 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
Referenced by __construct().
|
protected |
Definition at line 31 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
Referenced by __construct().
|
protected |
Definition at line 44 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
Referenced by getLostPools(), and setLostPools().
|
protected |
Definition at line 39 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
Referenced by doesParticipantDataExists(), and setParticipantDataExists().
|
protected |
Definition at line 46 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
Referenced by getQuestionSetConfig(), and setQuestionSetConfig().
|
protected |
Definition at line 50 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
Referenced by getSyncInfoMessage().
|
protected |
Definition at line 33 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
Referenced by getTargetGUI(), and setTargetGUI().
|
protected |
Definition at line 30 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
Referenced by __construct().
|
protected |
Definition at line 48 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
Referenced by isValidationFailed(), and setValidationFailed().
|
protected |
Definition at line 49 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
const ilTestRandomQuestionSetConfigStateMessageHandler::CONTEXT_GENERAL_CONFIG = 'generalConfigContext' |
Definition at line 35 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
Referenced by ilTestRandomQuestionSetConfigGUI\showGeneralConfigFormCmd().
const ilTestRandomQuestionSetConfigStateMessageHandler::CONTEXT_POOL_SELECTION = 'poolSelectionContext' |
Definition at line 36 of file class.ilTestRandomQuestionSetConfigStateMessageHandler.php.
Referenced by ilTestRandomQuestionSetConfigGUI\showSourcePoolDefinitionListCmd().