|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Inheritance diagram for ilAssQuestionHintRequestGUI:
Collaboration diagram for ilAssQuestionHintRequestGUI:Public Member Functions | |
| __construct ($parentGUI, $parentCMD, assQuestionGUI $questionGUI, $questionHintTracking) | |
| Constructor. More... | |
| executeCommand () | |
| Execute Command. More... | |
| getHintPresentationLinkTarget ($hintId, $xmlStyle=true) | |
| returns the link target for hint request presentation More... | |
Public Member Functions inherited from ilAssQuestionHintAbstractGUI | |
| __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 | |
Protected Attributes inherited from ilAssQuestionHintAbstractGUI | |
| $questionGUI = null | |
| $questionOBJ = null | |
Private Member Functions | |
| showListCmd () | |
| shows the list of allready requested hints More... | |
| showHintCmd () | |
| shows an allready requested hint More... | |
| confirmRequestCmd () | |
| shows a confirmation screen for a hint request 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) | |
| populates the rendered questin hint relating output content to global template depending on possibly active kiosk mode More... | |
| isQuestionPreview () | |
Definition at line 18 of file class.ilAssQuestionHintRequestGUI.php.
| ilAssQuestionHintRequestGUI::__construct | ( | $parentGUI, | |
| $parentCMD, | |||
| assQuestionGUI | $questionGUI, | ||
| $questionHintTracking | |||
| ) |
Constructor.
Definition at line 47 of file class.ilAssQuestionHintRequestGUI.php.
References $parentCMD, $parentGUI, ilAssQuestionHintAbstractGUI\$questionGUI, and $questionHintTracking.
|
private |
|
private |
shows a confirmation screen for a hint request
@access private @global ilCtrl $ilCtrl @global ilTemplate $tpl @global ilLanguage $lng
Definition at line 183 of file class.ilAssQuestionHintRequestGUI.php.
References $ilCtrl, $lng, $tpl, ilUtil\appendUrlParameterString(), populateContent(), and sprintf.
Here is the call graph for this function:| ilAssQuestionHintRequestGUI::executeCommand | ( | ) |
Execute Command.
@access public @global ilCtrl $ilCtrl
Definition at line 63 of file class.ilAssQuestionHintRequestGUI.php.
References $ilCtrl, $lng, and ilAssQuestionHintPageObjectCommandForwarder\PRESENTATION_MODE_REQUEST.
| ilAssQuestionHintRequestGUI::getHintPresentationLinkTarget | ( | $hintId, | |
$xmlStyle = true |
|||
| ) |
returns the link target for hint request presentation
@global ilCtrl $ilCtrl
| integer | $hintId | |
| boolean | $xmlStyle |
Definition at line 308 of file class.ilAssQuestionHintRequestGUI.php.
References $ilCtrl.
Referenced by performRequestCmd().
Here is the caller graph for this function:
|
private |
Definition at line 291 of file class.ilAssQuestionHintRequestGUI.php.
Referenced by populateContent().
Here is the caller graph for this function:
|
private |
Performs a hint request and invokes the (re-)saving the question solution.
Redirects to local showHint command
@access private @global ilCtrl $ilCtrl
Definition at line 223 of file class.ilAssQuestionHintRequestGUI.php.
References $_GET, $ilCtrl, getHintPresentationLinkTarget(), and ilUtil\redirect().
Here is the call graph for this function:
|
private |
populates the rendered questin hint relating output content to global template depending on possibly active kiosk mode
@global ilTemplate $tpl
| string | $content |
Definition at line 268 of file class.ilAssQuestionHintRequestGUI.php.
References $tpl, and isQuestionPreview().
Referenced by confirmRequestCmd(), showHintCmd(), and showListCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
shows an allready requested hint
@access private @global ilCtrl $ilCtrl @global ilTemplate $tpl @global ilLanguage $lng
Definition at line 118 of file class.ilAssQuestionHintRequestGUI.php.
References $_GET, $form, $ilCtrl, $lng, $tpl, ilAssQuestionHint\getInstanceById(), populateContent(), ilUtil\prepareTextareaOutput(), and sprintf.
Here is the call graph for this function:
|
private |
shows the list of allready requested hints
@access private
Definition at line 92 of file class.ilAssQuestionHintRequestGUI.php.
References $ilCtrl, $table, $tpl, and populateContent().
Here is the call graph for this function:
|
protected |
Definition at line 37 of file class.ilAssQuestionHintRequestGUI.php.
Referenced by __construct().
|
protected |
Definition at line 32 of file class.ilAssQuestionHintRequestGUI.php.
Referenced by __construct().
|
protected |
Definition at line 42 of file class.ilAssQuestionHintRequestGUI.php.
Referenced by __construct().
| const ilAssQuestionHintRequestGUI::CMD_BACK_TO_QUESTION = 'backToQuestion' |
Definition at line 27 of file class.ilAssQuestionHintRequestGUI.php.
Referenced by ilAssQuestionHintsTableGUI\initTestoutputCommands().
| const ilAssQuestionHintRequestGUI::CMD_CONFIRM_REQUEST = 'confirmRequest' |
Definition at line 25 of file class.ilAssQuestionHintRequestGUI.php.
Referenced by ilTestPlayerAbstractGUI\confirmHintRequestCmd(), and ilAssQuestionPreviewGUI\gatewayConfirmHintRequestCmd().
| const ilAssQuestionHintRequestGUI::CMD_PERFORM_REQUEST = 'performRequest' |
Definition at line 26 of file class.ilAssQuestionHintRequestGUI.php.
| const ilAssQuestionHintRequestGUI::CMD_SHOW_HINT = 'showHint' |
Definition at line 24 of file class.ilAssQuestionHintRequestGUI.php.
| const ilAssQuestionHintRequestGUI::CMD_SHOW_LIST = 'showList' |
command constants
Definition at line 23 of file class.ilAssQuestionHintRequestGUI.php.
Referenced by ilAssQuestionHintPageObjectCommandForwarder\buildRequestPresentationPageObjectGUI(), ilAssQuestionPreviewGUI\gatewayShowHintListCmd(), and ilTestPlayerAbstractGUI\showRequestedHintListCmd().