|
ILIAS
Release_5_0_x_branch Revision 61816
|
Inheritance diagram for ilAssQuestionHintRequestGUI:
Collaboration diagram for ilAssQuestionHintRequestGUI:Public Member Functions | |
| __construct ($parentGUI, $parentCMD, assQuestionGUI $questionGUI, $questionHintTracking) | |
| Constructor. | |
| executeCommand () | |
| Execute Command. | |
| getHintPresentationLinkTarget ($hintId, $xmlStyle=true) | |
| returns the link target for hint request presentation | |
Public Member Functions inherited from ilAssQuestionHintAbstractGUI | |
| __construct (assQuestionGUI $questionGUI) | |
| Constructor. | |
Data Fields | |
| const | CMD_SHOW_LIST = 'showList' |
| command constants | |
| 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 | |
| showHintCmd () | |
| shows an allready requested hint | |
| confirmRequestCmd () | |
| shows a confirmation screen for a hint request | |
| performRequestCmd () | |
| Performs a hint request and invokes the (re-)saving the question solution. | |
| backToQuestionCmd () | |
| gateway command method to jump back to test session output | |
| populateContent ($content) | |
| populates the rendered questin hint relating output content to global template depending on possibly active kiosk mode | |
| 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, and $questionHintTracking.
|
private |
gateway command method to jump back to test session output
private ilCtrl $ilCtrl
Definition at line 248 of file class.ilAssQuestionHintRequestGUI.php.
References $ilCtrl.
|
private |
shows a confirmation screen for a hint request
private ilCtrl $ilCtrl ilTemplate $tpl ilLanguage $lng
Definition at line 184 of file class.ilAssQuestionHintRequestGUI.php.
References $ilCtrl, $lng, $tpl, ilUtil\appendUrlParameterString(), CMD_BACK_TO_QUESTION, CMD_PERFORM_REQUEST, and populateContent().
Here is the call graph for this function:| ilAssQuestionHintRequestGUI::executeCommand | ( | ) |
Execute Command.
public ilCtrl $ilCtrl
Definition at line 63 of file class.ilAssQuestionHintRequestGUI.php.
References $cmd, $ilCtrl, $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 303 of file class.ilAssQuestionHintRequestGUI.php.
References $ilCtrl.
Referenced by performRequestCmd().
Here is the caller graph for this function:
|
private |
Definition at line 285 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
private ilCtrl $ilCtrl
Definition at line 219 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
ilTemplate $tpl
| string | $content |
Definition at line 262 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
private ilCtrl $ilCtrl ilTemplate $tpl ilLanguage $lng
Definition at line 116 of file class.ilAssQuestionHintRequestGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, ilAssQuestionHint\getInstanceById(), populateContent(), ilUtil\prepareTextareaOutput(), and ilNonEditableValueGUI\setValue().
Here is the call graph for this function:
|
private |
shows the list of allready requested hints
private
Definition at line 93 of file class.ilAssQuestionHintRequestGUI.php.
References $ilCtrl, $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 confirmRequestCmd(), and 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.
Referenced by confirmRequestCmd().
| 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().