ILIAS
Release_4_4_x_branch Revision 61816
|
Public Member Functions | |
__construct (ilTestOutputGUI $testOutputGUI, ilTestSession $testSession, assQuestionGUI $questionGUI) | |
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 | |
$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 18 of file class.ilAssQuestionHintRequestGUI.php.
ilAssQuestionHintRequestGUI::__construct | ( | ilTestOutputGUI | $testOutputGUI, |
ilTestSession | $testSession, | ||
assQuestionGUI | $questionGUI | ||
) |
Constructor.
ilTestOutputGUI | $testOutputGUI | |
ilTestSession | $testSession | |
assQuestionGUI | $questionGUI |
Definition at line 46 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 259 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 188 of file class.ilAssQuestionHintRequestGUI.php.
References $ilCtrl, $lng, $tpl, ilUtil\appendUrlParameterString(), CMD_BACK_TO_QUESTION, CMD_PERFORM_REQUEST, ilAssQuestionHintTracking\getNextRequestableHint(), and populateContent().
ilAssQuestionHintRequestGUI::executeCommand | ( | ) |
Execute Command.
public ilCtrl $ilCtrl
Definition at line 61 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 304 of file class.ilAssQuestionHintRequestGUI.php.
References $ilCtrl.
Referenced by performRequestCmd().
|
private |
Performs a hint request and invokes the (re-)saving the question solution.
Redirects to local showHint command
private ilCtrl $ilCtrl
Definition at line 225 of file class.ilAssQuestionHintRequestGUI.php.
References $_GET, $ilCtrl, getHintPresentationLinkTarget(), ilAssQuestionHintTracking\getNextRequestableHint(), ilUtil\redirect(), and ilAssQuestionHintTracking\storeRequest().
|
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 273 of file class.ilAssQuestionHintRequestGUI.php.
References $tpl.
Referenced by confirmRequestCmd(), showHintCmd(), and showListCmd().
|
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(), ilAssQuestionHintTracking\getNumExistingRequests(), ilAssQuestionHintTracking\isRequested(), populateContent(), ilUtil\prepareTextareaOutput(), and ilNonEditableValueGUI\setValue().
|
private |
shows the list of allready requested hints
private
Definition at line 91 of file class.ilAssQuestionHintRequestGUI.php.
References $ilCtrl, $tpl, ilAssQuestionHintTracking\getRequestedHintsList(), and populateContent().
|
protected |
Definition at line 32 of file class.ilAssQuestionHintRequestGUI.php.
Referenced by __construct().
|
protected |
Definition at line 37 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().
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(), and ilTestPlayerAbstractGUI\showRequestedHintListCmd().