|
ILIAS
release_4-3 Revision
|
Inheritance diagram for ilAssQuestionHintRequestGUI:
Collaboration diagram for ilAssQuestionHintRequestGUI:Public Member Functions | |
| __construct (ilTestOutputGUI $testOutputGUI, ilTestSession $testSession, assQuestionGUI $questionGUI) | |
| Constructor. | |
| executeCommand () | |
| Execute Command. | |
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 | |
| $testOutputGUI = null | |
| $testSession = 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 | |
Definition at line 19 of file class.ilAssQuestionHintRequestGUI.php.
| ilAssQuestionHintRequestGUI::__construct | ( | ilTestOutputGUI | $testOutputGUI, |
| ilTestSession | $testSession, | ||
| assQuestionGUI | $questionGUI | ||
| ) |
Constructor.
| ilTestOutputGUI | $testOutputGUI | |
| ilTestSession | $testSession | |
| assQuestionGUI | $questionGUI |
Definition at line 47 of file class.ilAssQuestionHintRequestGUI.php.
References $testOutputGUI, and $testSession.
|
private |
gateway command method to jump back to test session output
private ilCtrl $ilCtrl
Definition at line 254 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 181 of file class.ilAssQuestionHintRequestGUI.php.
References $ilCtrl, $lng, $tpl, ilUtil\appendUrlParameterString(), CMD_BACK_TO_QUESTION, CMD_PERFORM_REQUEST, ilAssQuestionHintTracking\getNextRequestableHint(), and populateContent().
Here is the call graph for this function:| ilAssQuestionHintRequestGUI::executeCommand | ( | ) |
Execute Command.
public ilCtrl $ilCtrl
Definition at line 62 of file class.ilAssQuestionHintRequestGUI.php.
|
private |
Performs a hint request and invokes the (re-)saving the question solution.
Redirects to local showHint command
private ilCtrl $ilCtrl
Definition at line 218 of file class.ilAssQuestionHintRequestGUI.php.
References $_GET, $ilCtrl, ilUtil\appendUrlParameterString(), ilAssQuestionHintTracking\getNextRequestableHint(), ilUtil\redirect(), and ilAssQuestionHintTracking\storeRequest().
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 268 of file class.ilAssQuestionHintRequestGUI.php.
References $tpl.
Referenced by confirmRequestCmd(), showHintCmd(), and showListCmd().
Here is the caller graph for this function:
|
private |
shows an allready requested hint
private ilCtrl $ilCtrl ilTemplate $tpl ilLanguage $lng
Definition at line 109 of file class.ilAssQuestionHintRequestGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, ilAssQuestionHint\getInstanceById(), ilAssQuestionHintTracking\getNumExistingRequests(), ilAssQuestionHintTracking\isRequested(), 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 84 of file class.ilAssQuestionHintRequestGUI.php.
References $ilCtrl, $tpl, ilAssQuestionHintTracking\getRequestedHintsList(), and populateContent().
Here is the call graph for this function:
|
protected |
Definition at line 33 of file class.ilAssQuestionHintRequestGUI.php.
Referenced by __construct().
|
protected |
Definition at line 38 of file class.ilAssQuestionHintRequestGUI.php.
Referenced by __construct().
| const ilAssQuestionHintRequestGUI::CMD_BACK_TO_QUESTION = 'backToQuestion' |
Definition at line 28 of file class.ilAssQuestionHintRequestGUI.php.
Referenced by confirmRequestCmd(), and ilAssQuestionHintsTableGUI\initTestoutputCommands().
| const ilAssQuestionHintRequestGUI::CMD_CONFIRM_REQUEST = 'confirmRequest' |
Definition at line 26 of file class.ilAssQuestionHintRequestGUI.php.
Referenced by ilTestOutputGUI\confirmHintRequest().
| const ilAssQuestionHintRequestGUI::CMD_PERFORM_REQUEST = 'performRequest' |
Definition at line 27 of file class.ilAssQuestionHintRequestGUI.php.
Referenced by confirmRequestCmd().
| const ilAssQuestionHintRequestGUI::CMD_SHOW_HINT = 'showHint' |
Definition at line 25 of file class.ilAssQuestionHintRequestGUI.php.
Referenced by ilAssQuestionHintsTableGUI\fillRow().
| const ilAssQuestionHintRequestGUI::CMD_SHOW_LIST = 'showList' |
command constants
Definition at line 24 of file class.ilAssQuestionHintRequestGUI.php.
Referenced by ilTestOutputGUI\showRequestedHintList().