ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Public Member Functions | |
__construct ($parentGUI, $parentCMD, assQuestionGUI $questionGUI, $questionHintTracking) | |
Constructor. More... | |
executeCommand () | |
getHintPresentationLinkTarget ($hintId, $xmlStyle=true) | |
returns the link target for hint request presentation More... | |
![]() | |
__construct (assQuestionGUI $questionGUI) | |
Constructor. More... | |
Data Fields | |
const | CMD_SHOW_LIST = 'showList' |
command constants More... | |
const | CMD_SHOW_HINT = 'showHint' |
const | CMD_CONFIRM_REQUEST = 'confirmRequest' |
const | CMD_PERFORM_REQUEST = 'performRequest' |
const | CMD_BACK_TO_QUESTION = 'backToQuestion' |
Protected Attributes | |
$parentGUI = null | |
$parentCMD = null | |
$questionHintTracking = null | |
![]() | |
ILIAS TestQuestionPool InternalRequestService | $request |
assQuestionGUI | $questionGUI = null |
assQuestion | $questionOBJ = null |
ilTabsGUI | $tabs |
Private Member Functions | |
showListCmd () | |
shows the list of allready requested hints More... | |
showHintCmd () | |
shows an allready requested hint More... | |
performRequestCmd () | |
Performs a hint request and invokes the (re-)saving the question solution. More... | |
backToQuestionCmd () | |
gateway command method to jump back to test session output More... | |
populateContent ($content, $tpl) | |
populates the rendered questin hint relating output content to global template depending on possibly active kiosk mode More... | |
isQuestionPreview () | |
Definition at line 30 of file class.ilAssQuestionHintRequestGUI.php.
ilAssQuestionHintRequestGUI::__construct | ( | $parentGUI, | |
$parentCMD, | |||
assQuestionGUI | $questionGUI, | ||
$questionHintTracking | |||
) |
Constructor.
Definition at line 59 of file class.ilAssQuestionHintRequestGUI.php.
References $parentCMD, $parentGUI, $questionHintTracking, and ILIAS\GlobalScreen\Provider\__construct().
|
private |
gateway command method to jump back to test session output
private ilCtrl $ilCtrl
Definition at line 304 of file class.ilAssQuestionHintRequestGUI.php.
References $DIC.
ilAssQuestionHintRequestGUI::executeCommand | ( | ) |
Definition at line 68 of file class.ilAssQuestionHintRequestGUI.php.
References $DIC, $lng, and ilAssQuestionHintPageObjectCommandForwarder\PRESENTATION_MODE_REQUEST.
ilAssQuestionHintRequestGUI::getHintPresentationLinkTarget | ( | $hintId, | |
$xmlStyle = true |
|||
) |
returns the link target for hint request presentation
ilCtrl $ilCtrl
integer | $hintId | |
boolean | $xmlStyle |
Definition at line 359 of file class.ilAssQuestionHintRequestGUI.php.
References $DIC.
Referenced by performRequestCmd().
|
private |
Definition at line 342 of file class.ilAssQuestionHintRequestGUI.php.
Referenced by populateContent().
|
private |
Performs a hint request and invokes the (re-)saving the question solution.
Redirects to local showHint command
private ilCtrl $ilCtrl
Definition at line 272 of file class.ilAssQuestionHintRequestGUI.php.
References $DIC, Vendor\Package\$e, getHintPresentationLinkTarget(), ILIAS\Repository\int(), and ilUtil\redirect().
|
private |
populates the rendered questin hint relating output content to global template depending on possibly active kiosk mode
ilTemplate $tpl
string | $content |
Definition at line 319 of file class.ilAssQuestionHintRequestGUI.php.
References $DIC, $tpl, and isQuestionPreview().
Referenced by showHintCmd(), and showListCmd().
|
private |
shows an allready requested hint
private ilCtrl $ilCtrl ilTemplate $tpl ilLanguage $lng
Definition at line 138 of file class.ilAssQuestionHintRequestGUI.php.
References $DIC, Vendor\Package\$e, $lng, $tpl, ilUtil\appendUrlParameterString(), ilAssQuestionHint\getInstanceById(), ILIAS\Repository\int(), populateContent(), ilLegacyFormElementsUtil\prepareTextareaOutput(), ilNonEditableValueGUI\setValue(), and ilTestPlayerLayoutProvider\TEST_PLAYER_TITLE.
|
private |
shows the list of allready requested hints
private
Definition at line 101 of file class.ilAssQuestionHintRequestGUI.php.
References $DIC, $lng, $tpl, populateContent(), and ilTestPlayerLayoutProvider\TEST_PLAYER_TITLE.
|
protected |
Definition at line 49 of file class.ilAssQuestionHintRequestGUI.php.
Referenced by __construct().
|
protected |
Definition at line 44 of file class.ilAssQuestionHintRequestGUI.php.
Referenced by __construct().
|
protected |
Definition at line 54 of file class.ilAssQuestionHintRequestGUI.php.
Referenced by __construct().
const ilAssQuestionHintRequestGUI::CMD_BACK_TO_QUESTION = 'backToQuestion' |
Definition at line 39 of file class.ilAssQuestionHintRequestGUI.php.
Referenced by ilAssQuestionHintsTableGUI\initTestoutputCommands().
const ilAssQuestionHintRequestGUI::CMD_CONFIRM_REQUEST = 'confirmRequest' |
Definition at line 37 of file class.ilAssQuestionHintRequestGUI.php.
Referenced by ilTestPlayerAbstractGUI\confirmHintRequestCmd(), and ilAssQuestionPreviewGUI\gatewayConfirmHintRequestCmd().
const ilAssQuestionHintRequestGUI::CMD_PERFORM_REQUEST = 'performRequest' |
Definition at line 38 of file class.ilAssQuestionHintRequestGUI.php.
const ilAssQuestionHintRequestGUI::CMD_SHOW_HINT = 'showHint' |
Definition at line 36 of file class.ilAssQuestionHintRequestGUI.php.
const ilAssQuestionHintRequestGUI::CMD_SHOW_LIST = 'showList' |
command constants
Definition at line 35 of file class.ilAssQuestionHintRequestGUI.php.
Referenced by ilAssQuestionHintPageObjectCommandForwarder\buildRequestPresentationPageObjectGUI(), ilAssQuestionPreviewGUI\gatewayShowHintListCmd(), and ilTestPlayerAbstractGUI\showRequestedHintListCmd().