ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Basic GUI class for assessment questions. More...
Public Member Functions | |
__construct () | |
assQuestionGUI constructor More... | |
hasInlineFeedback () | |
this method can be overwritten per question type More... | |
addHeaderAction () | |
redrawHeaderAction () | |
getHeaderAction () | |
getNotesHTML () | |
executeCommand () | |
execute command More... | |
getType () | |
needed for page editor compliance More... | |
getPresentationContext () | |
setPresentationContext ($presentationContext) | |
isTestPresentationContext () | |
isPreviousSolutionPrefilled () | |
setPreviousSolutionPrefilled ($previousSolutionPrefilled) | |
getRenderPurpose () | |
setRenderPurpose ($renderPurpose) | |
isRenderPurposePrintPdf () | |
isRenderPurposePreview () | |
isRenderPurposeInputValue () | |
isRenderPurposePlayback () | |
isRenderPurposeDemoplay () | |
renderPurposeSupportsFormHtml () | |
getEditContext () | |
setEditContext ($editContext) | |
isAuthoringEditContext () | |
isAdjustmentEditContext () | |
setAdjustmentEditContext () | |
getNavigationGUI () | |
setNavigationGUI ($navigationGUI) | |
setTaxonomyIds ($taxonomyIds) | |
getTaxonomyIds () | |
setTargetGui ($linkTargetGui) | |
setTargetGuiClass ($targetGuiClass) | |
getTargetGuiClass () | |
setQuestionHeaderBlockBuilder ($questionHeaderBlockBuilder) | |
getQuestionHeaderBlockBuilder () | |
setQuestionActionCmd ($questionActionCmd) | |
getQuestionActionCmd () | |
& | createQuestionGUI ($question_type, $question_id=-1) |
Creates a question gui representation. More... | |
populateJavascriptFilesRequiredForWorkForm (ilGlobalTemplateInterface $tpl) | |
getPresentationJavascripts () | |
getQuestionTemplate () | |
get question template More... | |
getILIASPage ($html="") | |
Returns the ILIAS Page around a question. More... | |
outQuestionPage ($a_temp_var, $a_postponed=false, $active_id="", $html="", $inlineFeedbackEnabled=false) | |
output question page More... | |
cancel () | |
cancel action More... | |
originalSyncForm ($return_to="", $return_to_feedback='') | |
sync () | |
cancelSync () | |
saveEdit () | |
save question More... | |
save () | |
save question More... | |
saveReturn () | |
save question More... | |
apply () | |
apply changes More... | |
getContextPath ($cont_obj, $a_endnode_id, $a_startnode_id=1) | |
get context path in content object tree More... | |
setSequenceNumber ($nr) | |
getSequenceNumber () | |
setQuestionCount ($a_question_count) | |
getQuestionCount () | |
getErrorMessage () | |
setErrorMessage ($errormessage) | |
addErrorMessage ($errormessage) | |
outAdditionalOutput () | |
getQuestionType () | |
Returns the question type string. More... | |
getAsValueAttribute ($a_value) | |
Returns a HTML value attribute. More... | |
addNewIdListener (&$a_object, $a_method, $a_parameters="") | |
Add a listener that is notified with the new question ID, when a new question is saved. More... | |
callNewIdListeners ($a_new_id) | |
Call the new id listeners. More... | |
addQuestionFormCommandButtons ($form) | |
Add the command buttons of a question properties form. More... | |
addBasicQuestionFormProperties ($form) | |
Add basic question form properties: assessment: title, author, description, question, working time. More... | |
getAnswerFeedbackOutput ($active_id, $pass) | |
Returns the answer generic feedback depending on the results of the question. More... | |
getGenericFeedbackOutput ($active_id, $pass) | |
Returns the answer specific feedback for the question. More... | |
getGenericFeedbackOutputForCorrectSolution () | |
getGenericFeedbackOutputForIncorrectSolution () | |
getSpecificFeedbackOutput ($userSolution) | |
Returns the answer specific feedback for the question. More... | |
outQuestionType () | |
showSuggestedSolution () | |
suggestedsolution () | |
Allows to add suggested solutions for questions. More... | |
outSolutionExplorer () | |
saveSuggestedSolution () | |
cancelExplorer () | |
outPageSelector () | |
outChapterSelector () | |
outGlossarySelector () | |
linkChilds () | |
addPG () | |
addST () | |
addGIT () | |
isSaveCommand () | |
setQuestionTabs () | |
addTab_SuggestedSolution (ilTabsGUI $tabs, $classname) | |
getEditQuestionTabCommands () | |
getSolutionOutput ( $active_id, $pass=null, $graphicalOutput=false, $result_output=false, $show_question_only=true, $show_feedback=false, $show_correct_solution=false, $show_manual_scoring=false, $show_question_text=true) | |
supportsIntermediateSolutionOutput () | |
Question type specific support of intermediate solution output The function getSolutionOutput respects getUseIntermediateSolution() More... | |
hasIntermediateSolution ($activeId, $passIndex) | |
Check if the question has an intermediate solution. More... | |
setUseIntermediateSolution ($use) | |
getUseIntermediateSolution () | |
Get if intermediate solution should be used for solution output. More... | |
isAutosaveable () | |
getPreview ($show_question_only=false, $showInlineFeedback=false) | |
outQuestionForTest ( $formaction, $active_id, $pass, $is_question_postponed=false, $user_post_solutions=false, $show_specific_inline_feedback=false) | |
magicAfterTestOutput () | |
getTestOutput ( $active_id, $pass, $is_question_postponed, $user_post_solutions, $show_specific_inline_feedback) | |
getFormEncodingType () | |
setPreviewSession ($previewSession) | |
getPreviewSession () | |
showHints () | |
buildFocusAnchorHtml () | |
isAnswerFreuqencyStatisticSupported () | |
getSubQuestionsIndex () | |
getAnswersFrequency ($relevantAnswers, $questionIndex) | |
getAnswerFrequencyTableGUI ($parentGui, $parentCmd, $relevantAnswers, $questionIndex) | |
prepareReprintableCorrectionsForm (ilPropertyFormGUI $form) | |
populateCorrectionsFormProperties (ilPropertyFormGUI $form) | |
saveCorrectionsFormProperties (ilPropertyFormGUI $form) | |
Static Public Member Functions | |
static | _getQuestionGUI ($question_type, $question_id=-1) |
Creates a question gui representation and returns the alias to the question gui note: please do not use $this inside this method to allow static calls. More... | |
static | _getGUIClassNameForId ($a_q_id) |
static | _getClassNameForQType ($q_type) |
static | getCommandsFromClassConstants ($guiClassName, $cmdConstantNameBegin='CMD_') |
extracts values of all constants of given class with given prefix as array can be used to get all possible commands in case of these commands are defined as constants More... | |
Data Fields | |
const | FORM_MODE_EDIT = 'edit' |
const | FORM_MODE_ADJUST = 'adjust' |
const | FORM_ENCODING_URLENCODE = 'application/x-www-form-urlencoded' |
const | FORM_ENCODING_MULTIPART = 'multipart/form-data' |
const | SESSION_PREVIEW_DATA_BASE_INDEX = 'ilAssQuestionPreviewAnswers' |
$object | |
$tpl | |
$lng | |
$error | |
$errormessage | |
$request | |
$sequence_no | |
sequence number in test More... | |
$question_count | |
question count in test More... | |
const | PRESENTATION_CONTEXT_TEST = 'pContextTest' |
const | PRESENTATION_CONTEXT_RESULTS = 'pContextResults' |
const | RENDER_PURPOSE_PLAYBACK = 'renderPurposePlayback' |
const | RENDER_PURPOSE_DEMOPLAY = 'renderPurposeDemoplay' |
const | RENDER_PURPOSE_PREVIEW = 'renderPurposePreview' |
const | RENDER_PURPOSE_PRINT_PDF = 'renderPurposePrintPdf' |
const | RENDER_PURPOSE_INPUT_VALUE = 'renderPurposeInputValue' |
const | EDIT_CONTEXT_AUTHORING = 'authoring' |
const | EDIT_CONTEXT_ADJUSTMENT = 'adjustment' |
Protected Attributes | |
const | HAS_SPECIAL_QUESTION_COMMANDS = false |
$ctrl | |
$editForm | |
$use_intermediate_solution = false | |
Private Attributes | |
$taxonomyIds = array() | |
$targetGuiClass = null | |
$questionActionCmd = 'handleQuestionAction' | |
$questionHeaderBlockBuilder | |
$navigationGUI | |
$presentationContext = null | |
$renderPurpose = self::RENDER_PURPOSE_PLAYBACK | |
$editContext = self::EDIT_CONTEXT_AUTHORING | |
$previousSolutionPrefilled = false | |
$previewSession | |
Basic GUI class for assessment questions.
The assQuestionGUI class encapsulates basic GUI functions for assessment questions.
Definition at line 23 of file class.assQuestionGUI.php.
assQuestionGUI::__construct | ( | ) |
assQuestionGUI constructor
Definition at line 133 of file class.assQuestionGUI.php.
References $DIC, $lng, and $tpl.
|
static |
Definition at line 556 of file class.assQuestionGUI.php.
Referenced by _getGUIClassNameForId().
|
static |
Definition at line 544 of file class.assQuestionGUI.php.
References _getClassNameForQType(), and assQuestion\getQuestionTypeFromDb().
Referenced by ilQuestionBrowserTableGUI\fillRow().
|
static |
Creates a question gui representation and returns the alias to the question gui note: please do not use $this inside this method to allow static calls.
string | $question_type | The question type as it is used in the language database |
integer | $question_id | The database ID of an existing question to load it into assQuestionGUI |
Definition at line 509 of file class.assQuestionGUI.php.
References $DIC, $ilDB, $lng, assQuestion\_includeClass(), assQuestion\getFeedbackClassNameByQuestionType(), assQuestion\getGuiClassNameByQuestionType(), and assQuestion\getQuestionTypeFromDb().
Referenced by ilObjQuestionPoolGUI\addLocatorItems(), ilTestExpressPageObjectGUI\addPageOfQuestions(), ilObjQuestionPoolGUI\createQuestionForTestObject(), createQuestionGUI(), ilObjQuestionPoolGUI\createQuestionObject(), ilPCQuestionGUI\edit(), ilTestExpressPageObjectGUI\executeCommand(), ilObjQuestionPoolGUI\executeCommand(), ilQuestionEditGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilPageObjectGUI\executeCommand(), ilSCORM2004Asset\exportHTMLPageObjects(), ilQuestionExporter\exportQuestion(), ilObjAssessmentFolder\fetchScoringAdjustableTypes(), ilAssQuestionPageCommandForwarder\forward(), ilPCQuestion\getJavascriptFiles(), ilSCORM2004PageGUI\getQuestionHtmlOfPage(), ilTestExpressPageObjectGUI\handleToolbarCommand(), ilPCQuestion\modifyPageContentPostXsl(), ilAssQuestionSkillAssignmentsGUI\saveSkillQuestionAssignmentPropertiesFormCmd(), ilObjQuestionPoolGUI\setTitleAndDescription(), and ilAssQuestionSkillAssignmentsGUI\showSkillQuestionAssignmentPropertiesFormCmd().
|
protected |
ilTabsGUI | $ilTabs |
Definition at line 2225 of file class.assQuestionGUI.php.
References ilAssQuestionPreviewGUI\CMD_SHOW, and ilTabsGUI\setBackTarget().
Referenced by setQuestionTabs().
assQuestionGUI::addBasicQuestionFormProperties | ( | $form | ) |
Add basic question form properties: assessment: title, author, description, question, working time.
Definition at line 1196 of file class.assQuestionGUI.php.
References ilObjAdvancedEditing\_getUsedHTMLTags(), assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_IPE, ilAssSelfAssessmentQuestionFormatter\getSelfAssessmentTags(), ilUtil\prepareFormOutput(), ilDurationInputGUI\setShowHours(), ilNumberInputGUI\setValue(), and ilTextAreaInputGUI\setValue().
Referenced by assKprimChoiceGUI\buildEditForm(), assImagemapQuestionGUI\buildEditForm(), assLongMenuGUI\buildEditForm(), assOrderingQuestionGUI\buildEditForm(), assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assTextSubsetGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), and assFormulaQuestionGUI\isSaveCommand().
assQuestionGUI::addErrorMessage | ( | $errormessage | ) |
Definition at line 1108 of file class.assQuestionGUI.php.
References $errormessage.
Referenced by assFormulaQuestionGUI\checkInput(), and assFormulaQuestionGUI\writePostData().
assQuestionGUI::addGIT | ( | ) |
assQuestionGUI::addHeaderAction | ( | ) |
Definition at line 174 of file class.assQuestionGUI.php.
assQuestionGUI::addNewIdListener | ( | & | $a_object, |
$a_method, | |||
$a_parameters = "" |
|||
) |
Add a listener that is notified with the new question ID, when a new question is saved.
Definition at line 1151 of file class.assQuestionGUI.php.
assQuestionGUI::addPG | ( | ) |
assQuestionGUI::addQuestionFormCommandButtons | ( | $form | ) |
Add the command buttons of a question properties form.
Definition at line 1181 of file class.assQuestionGUI.php.
Referenced by assKprimChoiceGUI\buildEditForm(), assImagemapQuestionGUI\buildEditForm(), assLongMenuGUI\buildEditForm(), assMultipleChoiceGUI\buildEditForm(), assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assTextSubsetGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), and assMatchingQuestionGUI\editQuestion().
|
protected |
Definition at line 2359 of file class.assQuestionGUI.php.
Referenced by assFormulaQuestionGUI\callSpecialQuestionCommands(), executeCommand(), and assFormulaQuestionGUI\parseQuestion().
assQuestionGUI::addST | ( | ) |
|
protected |
Definition at line 2054 of file class.assQuestionGUI.php.
References $pass, ilTabsGUI\addTarget(), and getSolutionOutput().
Referenced by setDefaultTabs().
|
protected |
adds the feedback tab to ilTabsGUI
ilCtrl $ilCtrl
ilTabsGUI | $tabs |
Definition at line 2006 of file class.assQuestionGUI.php.
References $DIC, ilTabsGUI\addTarget(), and ilAssQuestionFeedbackEditingGUI\CMD_SHOW.
Referenced by setDefaultTabs().
|
protected |
adds the hints tab to ilTabsGUI
ilCtrl $ilCtrl
ilTabsGUI | $tabs |
Definition at line 2025 of file class.assQuestionGUI.php.
References $DIC, ilTabsGUI\addTarget(), and ilAssQuestionHintsGUI\CMD_SHOW_LIST.
Referenced by setDefaultTabs().
assQuestionGUI::addTab_SuggestedSolution | ( | ilTabsGUI | $tabs, |
$classname | |||
) |
Definition at line 1970 of file class.assQuestionGUI.php.
References $_GET, and ilTabsGUI\addTarget().
Referenced by setDefaultTabs().
assQuestionGUI::apply | ( | ) |
apply changes
Definition at line 1046 of file class.assQuestionGUI.php.
References writePostData().
|
protected |
Definition at line 2258 of file class.assQuestionGUI.php.
References getType(), and outQuestionType().
Referenced by assKprimChoiceGUI\buildEditForm(), assImagemapQuestionGUI\buildEditForm(), and assLongMenuGUI\buildEditForm().
|
protected |
Definition at line 2290 of file class.assQuestionGUI.php.
References $editForm, and $errors.
Referenced by executeCommand().
assQuestionGUI::buildFocusAnchorHtml | ( | ) |
Definition at line 2299 of file class.assQuestionGUI.php.
Referenced by assSingleChoiceGUI\getPreview(), assMultipleChoiceGUI\getPreview(), assKprimChoiceGUI\getPreview(), assSingleChoiceGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), and assKprimChoiceGUI\getSolutionOutput().
assQuestionGUI::callNewIdListeners | ( | $a_new_id | ) |
Call the new id listeners.
Definition at line 1163 of file class.assQuestionGUI.php.
Referenced by save(), saveReturn(), and assFormulaQuestionGUI\saveReturnFQ().
assQuestionGUI::cancel | ( | ) |
cancel action
Definition at line 712 of file class.assQuestionGUI.php.
References $_GET, and ilUtil\redirect().
assQuestionGUI::cancelExplorer | ( | ) |
Definition at line 1720 of file class.assQuestionGUI.php.
assQuestionGUI::cancelSync | ( | ) |
Definition at line 786 of file class.assQuestionGUI.php.
References $_GET, ilLink\_getLink(), ilAssQuestionPreviewGUI\CMD_SHOW, ilObjectFactory\getInstanceByRefId(), ilTestExpressPage\getReturnToPageLink(), and ilUtil\redirect().
|
protected |
Definition at line 2198 of file class.assQuestionGUI.php.
Referenced by outQuestionForTest().
& assQuestionGUI::createQuestionGUI | ( | $question_type, | |
$question_id = -1 |
|||
) |
Creates a question gui representation.
Creates a question gui representation and returns the alias to the question gui
string | $question_type | The question type as it is used in the language database |
integer | $question_id | The database ID of an existing question to load it into assQuestionGUI |
Definition at line 573 of file class.assQuestionGUI.php.
References _getQuestionGUI().
|
protected |
Definition at line 2282 of file class.assQuestionGUI.php.
Referenced by assTextSubsetGUI\getPreview(), assTextSubsetGUI\getSolutionOutput(), assTextSubsetGUI\getTestOutput(), and assClozeTestGUI\populateJSON().
assQuestionGUI::executeCommand | ( | ) |
execute command
Definition at line 221 of file class.assQuestionGUI.php.
References $_GET, $DIC, addSaveOnEnterOnLoadCode(), buildEditForm(), hasSpecialQuestionCommands(), and ilUtil\stripSlashes().
|
protected |
Definition at line 1995 of file class.assQuestionGUI.php.
Referenced by getEditQuestionTabCommands().
assQuestionGUI::getAnswerFeedbackOutput | ( | $active_id, | |
$pass | |||
) |
Returns the answer generic feedback depending on the results of the question.
integer | $active_id | Active ID of the user |
integer | $pass | Active pass |
Definition at line 1347 of file class.assQuestionGUI.php.
References $pass, and getGenericFeedbackOutput().
Referenced by assTextSubsetGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assJavaAppletGUI\getSolutionOutput(), and assImagemapQuestionGUI\supportsIntermediateSolutionOutput().
assQuestionGUI::getAnswerFrequencyTableGUI | ( | $parentGui, | |
$parentCmd, | |||
$relevantAnswers, | |||
$questionIndex | |||
) |
$parentGui | |
$parentCmd | |
$relevantAnswers | |
$questionIndex |
Definition at line 2326 of file class.assQuestionGUI.php.
References getAnswersFrequency().
assQuestionGUI::getAnswersFrequency | ( | $relevantAnswers, | |
$questionIndex | |||
) |
Definition at line 2314 of file class.assQuestionGUI.php.
Referenced by getAnswerFrequencyTableGUI().
assQuestionGUI::getAsValueAttribute | ( | $a_value | ) |
Returns a HTML value attribute.
mixed | $a_value | A given text or value |
Definition at line 1137 of file class.assQuestionGUI.php.
References $result.
|
protected |
Definition at line 1990 of file class.assQuestionGUI.php.
Referenced by getEditQuestionTabCommands().
|
static |
extracts values of all constants of given class with given prefix as array can be used to get all possible commands in case of these commands are defined as constants
string | $guiClassName | |
string | $cmdConstantNameBegin |
Definition at line 1911 of file class.assQuestionGUI.php.
Referenced by ilPCQuestionGUI\setTabs().
assQuestionGUI::getContextPath | ( | $cont_obj, | |
$a_endnode_id, | |||
$a_startnode_id = 1 |
|||
) |
get context path in content object tree
int | $a_endnode_id | id of endnode |
int | $a_startnode_id | id of startnode |
Definition at line 1060 of file class.assQuestionGUI.php.
References $i.
Referenced by outPageSelector().
assQuestionGUI::getEditContext | ( | ) |
Definition at line 365 of file class.assQuestionGUI.php.
References $editContext.
Referenced by isAdjustmentEditContext(), and isAuthoringEditContext().
|
final |
Definition at line 1985 of file class.assQuestionGUI.php.
References getAdditionalEditQuestionCommands(), and getBasicEditQuestionTabCommands().
assQuestionGUI::getErrorMessage | ( | ) |
Definition at line 1098 of file class.assQuestionGUI.php.
References $errormessage.
Referenced by assTextQuestionGUI\addSuggestedSolution(), assFormulaQuestionGUI\suggestRange(), and assFlashQuestionGUI\suggestRange().
assQuestionGUI::getFormEncodingType | ( | ) |
Definition at line 2217 of file class.assQuestionGUI.php.
Referenced by outQuestionForTest(), and ilTestPlayerAbstractGUI\showQuestionViewable().
assQuestionGUI::getGenericFeedbackOutput | ( | $active_id, | |
$pass | |||
) |
Returns the answer specific feedback for the question.
integer | $active_id | Active ID of the user |
integer | $pass | Active pass |
Definition at line 1361 of file class.assQuestionGUI.php.
References $pass, and ilObjTest\getManualFeedback().
Referenced by getAnswerFeedbackOutput(), assOrderingHorizontalGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assLongMenuGUI\getSolutionOutput(), assOrderingQuestionGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), assFormulaQuestionGUI\getSolutionOutput(), assClozeTestGUI\getSolutionOutput(), and ilTestPlayerAbstractGUI\populateGenericFeedbackBlock().
assQuestionGUI::getGenericFeedbackOutputForCorrectSolution | ( | ) |
Definition at line 1388 of file class.assQuestionGUI.php.
assQuestionGUI::getGenericFeedbackOutputForIncorrectSolution | ( | ) |
Definition at line 1396 of file class.assQuestionGUI.php.
References getSpecificFeedbackOutput().
assQuestionGUI::getHeaderAction | ( | ) |
Definition at line 185 of file class.assQuestionGUI.php.
References $_GET, $DIC, ilCommonActionDispatcherGUI\setSubObject(), and ilCommonActionDispatcherGUI\TYPE_REPOSITORY.
Referenced by redrawHeaderAction().
assQuestionGUI::getILIASPage | ( | $html = "" | ) |
Returns the ILIAS Page around a question.
Definition at line 625 of file class.assQuestionGUI.php.
References ilPageObjectGUI\setQuestionHTML().
Referenced by assOrderingHorizontalGUI\getPreview(), assTextSubsetGUI\getPreview(), assNumericGUI\getPreview(), assFlashQuestionGUI\getPreview(), assFileUploadGUI\getPreview(), assErrorTextGUI\getPreview(), assTextQuestionGUI\getPreview(), assSingleChoiceGUI\getPreview(), assLongMenuGUI\getPreview(), assMultipleChoiceGUI\getPreview(), assJavaAppletGUI\getPreview(), assKprimChoiceGUI\getPreview(), assOrderingQuestionGUI\getPreview(), assImagemapQuestionGUI\getPreview(), assMatchingQuestionGUI\getPreview(), assClozeTestGUI\getPreview(), assFormulaQuestionGUI\getPreview(), assOrderingHorizontalGUI\getSolutionOutput(), assTextSubsetGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assFlashQuestionGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assJavaAppletGUI\getSolutionOutput(), assLongMenuGUI\getSolutionOutput(), assOrderingQuestionGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), assFormulaQuestionGUI\getSolutionOutput(), assClozeTestGUI\getSolutionOutput(), assOrderingHorizontalGUI\getTestOutput(), assErrorTextGUI\getTestOutput(), assFileUploadGUI\getTestOutput(), and assImagemapQuestionGUI\supportsIntermediateSolutionOutput().
assQuestionGUI::getNavigationGUI | ( | ) |
Definition at line 402 of file class.assQuestionGUI.php.
References $navigationGUI.
Referenced by outQuestionPage().
assQuestionGUI::getNotesHTML | ( | ) |
Definition at line 209 of file class.assQuestionGUI.php.
References ilNoteGUI\enablePublicNotes().
assQuestionGUI::getPresentationContext | ( | ) |
Definition at line 272 of file class.assQuestionGUI.php.
References $presentationContext.
Referenced by isTestPresentationContext().
assQuestionGUI::getPresentationJavascripts | ( | ) |
Definition at line 586 of file class.assQuestionGUI.php.
Referenced by populateJavascriptFilesRequiredForWorkForm().
|
abstract |
assQuestionGUI::getPreviewSession | ( | ) |
Definition at line 2250 of file class.assQuestionGUI.php.
References $previewSession.
Referenced by assOrderingHorizontalGUI\getPreview(), assTextSubsetGUI\getPreview(), assNumericGUI\getPreview(), assFileUploadGUI\getPreview(), assErrorTextGUI\getPreview(), assTextQuestionGUI\getPreview(), assSingleChoiceGUI\getPreview(), assLongMenuGUI\getPreview(), assMultipleChoiceGUI\getPreview(), assKprimChoiceGUI\getPreview(), assOrderingQuestionGUI\getPreview(), assImagemapQuestionGUI\getPreview(), assMatchingQuestionGUI\getPreview(), assClozeTestGUI\getPreview(), assFormulaQuestionGUI\getPreview(), and assFormulaQuestionGUI\getSolutionOutput().
|
protected |
Definition at line 699 of file class.assQuestionGUI.php.
References $tpl.
Referenced by outQuestionPage().
|
protected |
Definition at line 694 of file class.assQuestionGUI.php.
Referenced by outQuestionPage().
assQuestionGUI::getQuestionActionCmd | ( | ) |
Definition at line 467 of file class.assQuestionGUI.php.
References $questionActionCmd.
Referenced by assImagemapQuestionGUI\buildAreaLinkTarget(), assFileUploadGUI\getPreview(), assImagemapQuestionGUI\getPreview(), assImagemapQuestionGUI\getPreviousSolutionConfirmationCheckboxHtml(), assFileUploadGUI\getTestOutput(), and assImagemapQuestionGUI\getTestOutput().
assQuestionGUI::getQuestionCount | ( | ) |
Definition at line 1093 of file class.assQuestionGUI.php.
References $question_count.
assQuestionGUI::getQuestionHeaderBlockBuilder | ( | ) |
Definition at line 452 of file class.assQuestionGUI.php.
References $questionHeaderBlockBuilder.
Referenced by ilTestPlayerAbstractGUI\populateInstantResponseModal(), ilTestPlayerAbstractGUI\showQuestionEditable(), and ilTestPlayerAbstractGUI\showQuestionViewable().
assQuestionGUI::getQuestionTemplate | ( | ) |
get question template
Definition at line 594 of file class.assQuestionGUI.php.
Referenced by assTextQuestionGUI\addSuggestedSolution(), assImagemapQuestionGUI\areaEditor(), assKprimChoiceGUI\editQuestion(), assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assTextSubsetGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assLongMenuGUI\editQuestion(), assImagemapQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assFormulaQuestionGUI\isSaveCommand(), and renderEditForm().
assQuestionGUI::getQuestionType | ( | ) |
Returns the question type string.
Returns the question type string
Definition at line 1125 of file class.assQuestionGUI.php.
Referenced by ilTestCorrectionsGUI\allowedInAdjustment(), and getType().
assQuestionGUI::getRenderPurpose | ( | ) |
Definition at line 311 of file class.assQuestionGUI.php.
References $renderPurpose.
Referenced by isRenderPurposeDemoplay(), isRenderPurposeInputValue(), isRenderPurposePlayback(), isRenderPurposePreview(), isRenderPurposePrintPdf(), and suggestedsolution().
assQuestionGUI::getSequenceNumber | ( | ) |
Definition at line 1083 of file class.assQuestionGUI.php.
References $sequence_no.
|
abstract |
Referenced by addTab_Question(), ilAssQuestionSkillAssignmentsGUI\buildQuestionPage(), ilTestPlayerAbstractGUI\populateInstantResponseBlocks(), ilTestPlayerAbstractGUI\populateInstantResponseModal(), ilTestPlayerAbstractGUI\showQuestionViewable(), suggestedsolution(), and assImagemapQuestionGUI\supportsIntermediateSolutionOutput().
|
abstract |
Returns the answer specific feedback for the question.
This method should be overwritten by the actual question.
array | $userSolution | ($userSolution[<value1>] = <value2>) |
Referenced by getGenericFeedbackOutputForIncorrectSolution(), and ilTestPlayerAbstractGUI\populateSpecificFeedbackBlock().
assQuestionGUI::getSubQuestionsIndex | ( | ) |
Definition at line 2309 of file class.assQuestionGUI.php.
assQuestionGUI::getTargetGuiClass | ( | ) |
Definition at line 435 of file class.assQuestionGUI.php.
References $targetGuiClass.
Referenced by assImagemapQuestionGUI\buildAreaLinkTarget(), assImagemapQuestionGUI\getPreview(), assFileUploadGUI\getSolutionOutput(), assErrorTextGUI\getTestOutput(), and assImagemapQuestionGUI\getTestOutput().
assQuestionGUI::getTaxonomyIds | ( | ) |
Definition at line 420 of file class.assQuestionGUI.php.
References $taxonomyIds.
Referenced by populateTaxonomyFormSection(), and saveTaxonomyAssignments().
|
abstract |
Referenced by magicAfterTestOutput(), and outQuestionForTest().
assQuestionGUI::getType | ( | ) |
needed for page editor compliance
Definition at line 264 of file class.assQuestionGUI.php.
References getQuestionType().
Referenced by buildBasicEditFormObject().
assQuestionGUI::getUseIntermediateSolution | ( | ) |
Get if intermediate solution should be used for solution output.
Definition at line 2118 of file class.assQuestionGUI.php.
References $use_intermediate_solution.
Referenced by assOrderingHorizontalGUI\getSolutionOutput(), assTextSubsetGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assOrderingQuestionGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), assFormulaQuestionGUI\getSolutionOutput(), assClozeTestGUI\getSolutionOutput(), assTextQuestionGUI\getUserAnswer(), assLongMenuGUI\getUserSolution(), and assImagemapQuestionGUI\supportsIntermediateSolutionOutput().
|
protected |
Definition at line 683 of file class.assQuestionGUI.php.
References $tpl.
Referenced by outQuestionPage().
|
protected |
Definition at line 2123 of file class.assQuestionGUI.php.
Referenced by assOrderingHorizontalGUI\getSolutionOutput(), assTextSubsetGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assJavaAppletGUI\getSolutionOutput(), assLongMenuGUI\getSolutionOutput(), assOrderingQuestionGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), assFormulaQuestionGUI\getSolutionOutput(), assClozeTestGUI\getSolutionOutput(), and assImagemapQuestionGUI\supportsIntermediateSolutionOutput().
assQuestionGUI::hasInlineFeedback | ( | ) |
this method can be overwritten per question type
Definition at line 169 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\populateInstantResponseBlocks().
assQuestionGUI::hasIntermediateSolution | ( | $activeId, | |
$passIndex | |||
) |
Check if the question has an intermediate solution.
int | $activeId | |
int | $passIndex |
Definition at line 2099 of file class.assQuestionGUI.php.
References $result.
|
protected |
Definition at line 256 of file class.assQuestionGUI.php.
Referenced by executeCommand().
assQuestionGUI::isAdjustmentEditContext | ( | ) |
bool | $isAdjustmentEditContext |
Definition at line 389 of file class.assQuestionGUI.php.
References getEditContext().
assQuestionGUI::isAnswerFreuqencyStatisticSupported | ( | ) |
Definition at line 2304 of file class.assQuestionGUI.php.
Referenced by ilTestCorrectionsGUI\setCorrectionTabsContext().
assQuestionGUI::isAuthoringEditContext | ( | ) |
bool | $isAuthoringEditContext |
Definition at line 381 of file class.assQuestionGUI.php.
References getEditContext().
assQuestionGUI::isAutosaveable | ( | ) |
Definition at line 2131 of file class.assQuestionGUI.php.
assQuestionGUI::isPreviousSolutionPrefilled | ( | ) |
Definition at line 294 of file class.assQuestionGUI.php.
References $previousSolutionPrefilled.
assQuestionGUI::isRenderPurposeDemoplay | ( | ) |
Definition at line 344 of file class.assQuestionGUI.php.
References getRenderPurpose().
Referenced by assOrderingQuestionGUI\isInteractivePresentation().
assQuestionGUI::isRenderPurposeInputValue | ( | ) |
Definition at line 334 of file class.assQuestionGUI.php.
References getRenderPurpose().
Referenced by renderPurposeSupportsFormHtml().
assQuestionGUI::isRenderPurposePlayback | ( | ) |
Definition at line 339 of file class.assQuestionGUI.php.
References getRenderPurpose().
Referenced by assOrderingQuestionGUI\isInteractivePresentation().
assQuestionGUI::isRenderPurposePreview | ( | ) |
Definition at line 329 of file class.assQuestionGUI.php.
References getRenderPurpose().
assQuestionGUI::isRenderPurposePrintPdf | ( | ) |
Definition at line 324 of file class.assQuestionGUI.php.
References getRenderPurpose().
Referenced by assOrderingQuestionGUI\buildNestingForm(), assSingleChoiceGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), assOrderingQuestionGUI\populateAnswerSpecificFormPart(), assClozeTestGUI\populateSolutiontextToGapTpl(), and renderPurposeSupportsFormHtml().
assQuestionGUI::isSaveCommand | ( | ) |
Definition at line 1898 of file class.assQuestionGUI.php.
Referenced by assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assTextSubsetGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), and assMatchingQuestionGUI\editQuestion().
assQuestionGUI::isTestPresentationContext | ( | ) |
Definition at line 285 of file class.assQuestionGUI.php.
References getPresentationContext().
Referenced by assOrderingHorizontalGUI\getSolutionOutput(), assTextSubsetGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assJavaAppletGUI\getSolutionOutput(), assLongMenuGUI\getSolutionOutput(), assOrderingQuestionGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), assClozeTestGUI\getSolutionOutput(), and assImagemapQuestionGUI\supportsIntermediateSolutionOutput().
assQuestionGUI::linkChilds | ( | ) |
Definition at line 1843 of file class.assQuestionGUI.php.
References $_GET, outChapterSelector(), outGlossarySelector(), and outPageSelector().
assQuestionGUI::magicAfterTestOutput | ( | ) |
Definition at line 2204 of file class.assQuestionGUI.php.
References $pass, and getTestOutput().
Referenced by outQuestionForTest().
assQuestionGUI::originalSyncForm | ( | $return_to = "" , |
|
$return_to_feedback = '' |
|||
) |
string | $return_to | |
string | $return_to_feedback | ilAssQuestionFeedbackEditingGUI |
Definition at line 734 of file class.assQuestionGUI.php.
Referenced by suggestedsolution().
assQuestionGUI::outAdditionalOutput | ( | ) |
Definition at line 1113 of file class.assQuestionGUI.php.
assQuestionGUI::outChapterSelector | ( | ) |
Definition at line 1784 of file class.assQuestionGUI.php.
References $_GET, $rows, and ilUtil\stripSlashes().
Referenced by linkChilds().
assQuestionGUI::outGlossarySelector | ( | ) |
Definition at line 1817 of file class.assQuestionGUI.php.
Referenced by linkChilds().
assQuestionGUI::outPageSelector | ( | ) |
Definition at line 1725 of file class.assQuestionGUI.php.
References $_GET, $rows, getContextPath(), ilLMPageObject\getPageList(), ilUtil\prepareFormOutput(), and ilUtil\stripSlashes().
Referenced by linkChilds().
|
final |
string | $formaction | |
integer | $active_id | |
integer | null | $pass | |
bool | $is_question_postponed | |
bool | $user_post_solutions | |
bool | $show_specific_inline_feedback |
Definition at line 2169 of file class.assQuestionGUI.php.
References $pass, completeTestOutputFormAction(), getFormEncodingType(), getTestOutput(), and magicAfterTestOutput().
Referenced by ilTestPlayerAbstractGUI\showQuestionEditable().
assQuestionGUI::outQuestionPage | ( | $a_temp_var, | |
$a_postponed = false , |
|||
$active_id = "" , |
|||
$html = "" , |
|||
$inlineFeedbackEnabled = false |
|||
) |
output question page
Definition at line 638 of file class.assQuestionGUI.php.
References getNavigationGUI(), getPreviousSolutionConfirmationCheckboxHtml(), getPreviousSolutionProvidedMessage(), getUseUnchangedAnswerCheckboxHtml(), ilUtil\sendInfo(), and ilPageObjectGUI\setOutputMode().
Referenced by assTextSubsetGUI\getTestOutput(), assNumericGUI\getTestOutput(), assOrderingHorizontalGUI\getTestOutput(), assFlashQuestionGUI\getTestOutput(), assKprimChoiceGUI\getTestOutput(), assErrorTextGUI\getTestOutput(), assFileUploadGUI\getTestOutput(), assTextQuestionGUI\getTestOutput(), assLongMenuGUI\getTestOutput(), assSingleChoiceGUI\getTestOutput(), assJavaAppletGUI\getTestOutput(), assMultipleChoiceGUI\getTestOutput(), assOrderingQuestionGUI\getTestOutput(), assImagemapQuestionGUI\getTestOutput(), assMatchingQuestionGUI\getTestOutput(), assFormulaQuestionGUI\getTestOutput(), assClozeTestGUI\getTestOutput(), ilTestPlayerAbstractGUI\populateInstantResponseModal(), and ilTestPlayerAbstractGUI\showQuestionViewable().
assQuestionGUI::outQuestionType | ( | ) |
Definition at line 1416 of file class.assQuestionGUI.php.
References $_GET, $DIC, assQuestion\_getQuestionTypeName(), and ilUtil\sendInfo().
Referenced by buildBasicEditFormObject(), assOrderingQuestionGUI\buildEditForm(), assMultipleChoiceGUI\buildEditForm(), assOrderingQuestionGUI\buildNestingForm(), assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assTextSubsetGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assFormulaQuestionGUI\isSaveCommand(), ilTestCorrectionsGUI\populatePageTitleAndDescription(), and assMatchingQuestionGUI\validateUploadSubforms().
assQuestionGUI::outSolutionExplorer | ( | ) |
Definition at line 1645 of file class.assQuestionGUI.php.
References $_GET, $DIC, $type, ilUtil\sendInfo(), and ilExplorer\setExpand().
assQuestionGUI::populateCorrectionsFormProperties | ( | ilPropertyFormGUI | $form | ) |
ilPropertyFormGUI | $form |
Definition at line 2348 of file class.assQuestionGUI.php.
Referenced by ilTestCorrectionsGUI\buildQuestionCorrectionForm().
assQuestionGUI::populateJavascriptFilesRequiredForWorkForm | ( | ilGlobalTemplateInterface | $tpl | ) |
Definition at line 579 of file class.assQuestionGUI.php.
References ilGlobalTemplateInterface\addJavaScript(), and getPresentationJavascripts().
|
protected |
Definition at line 1305 of file class.assQuestionGUI.php.
References ilObject\_lookupType(), ilPropertyFormGUI\addItem(), ilTaxNodeAssignment\getAssignmentsOfItem(), getTaxonomyIds(), and ilFormPropertyGUI\setTitle().
Referenced by assKprimChoiceGUI\buildEditForm(), assImagemapQuestionGUI\buildEditForm(), assLongMenuGUI\buildEditForm(), assOrderingQuestionGUI\buildEditForm(), assMultipleChoiceGUI\buildEditForm(), assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assTextSubsetGUI\editQuestion(), assFileUploadGUI\editQuestion(), assNumericGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), and assFormulaQuestionGUI\isSaveCommand().
assQuestionGUI::prepareReprintableCorrectionsForm | ( | ilPropertyFormGUI | $form | ) |
ilPropertyFormGUI | $form |
Definition at line 2341 of file class.assQuestionGUI.php.
assQuestionGUI::redrawHeaderAction | ( | ) |
Definition at line 178 of file class.assQuestionGUI.php.
References $DIC, exit, and getHeaderAction().
|
protected |
$form |
Definition at line 613 of file class.assQuestionGUI.php.
References getQuestionTemplate().
Referenced by assOrderingQuestionGUI\buildEditFormAfterTypeChange(), assOrderingQuestionGUI\editNesting(), assOrderingQuestionGUI\editQuestion(), and assOrderingQuestionGUI\writePostData().
assQuestionGUI::renderPurposeSupportsFormHtml | ( | ) |
Definition at line 349 of file class.assQuestionGUI.php.
References isRenderPurposeInputValue(), and isRenderPurposePrintPdf().
Referenced by assTextQuestionGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), and assClozeTestGUI\populateSolutiontextToGapTpl().
assQuestionGUI::save | ( | ) |
save question
in express mode, so add question to test directly
Definition at line 867 of file class.assQuestionGUI.php.
References $_GET, $_SESSION, $DIC, $ilDB, $ilUser, $result, $test, assQuestion\_isWriteable(), assQuestion\_questionExistsInTest(), callNewIdListeners(), ilTestExpressPage\getReturnToPageLink(), ilUtil\redirect(), and writePostData().
Referenced by assFormulaQuestionGUI\saveFQ().
assQuestionGUI::saveCorrectionsFormProperties | ( | ilPropertyFormGUI | $form | ) |
ilPropertyFormGUI | $form |
Definition at line 2355 of file class.assQuestionGUI.php.
assQuestionGUI::saveEdit | ( | ) |
save question
Definition at line 816 of file class.assQuestionGUI.php.
References $_GET, $_SESSION, $DIC, $ilDB, $ilUser, $result, $test, assQuestion\_isWriteable(), ilUtil\redirect(), and writePostData().
assQuestionGUI::saveReturn | ( | ) |
save question
Definition at line 975 of file class.assQuestionGUI.php.
References $_GET, $_SESSION, $DIC, $ilDB, $ilUser, $result, $test, assQuestion\_isWriteable(), assQuestion\_questionExistsInTest(), callNewIdListeners(), ilAssQuestionPreviewGUI\CMD_SHOW, and writePostData().
assQuestionGUI::saveSuggestedSolution | ( | ) |
Definition at line 1681 of file class.assQuestionGUI.php.
References $_POST, $DIC, $type, and suggestedsolution().
|
protected |
Definition at line 1290 of file class.assQuestionGUI.php.
References getTaxonomyIds().
Referenced by assFormulaQuestionGUI\saveFQ(), assFormulaQuestionGUI\saveReturnFQ(), assErrorTextGUI\writePostData(), assTextQuestionGUI\writePostData(), assTextSubsetGUI\writePostData(), assMatchingQuestionGUI\writePostData(), assFileUploadGUI\writePostData(), assOrderingHorizontalGUI\writePostData(), assSingleChoiceGUI\writePostData(), assJavaAppletGUI\writePostData(), assMultipleChoiceGUI\writePostData(), assNumericGUI\writePostData(), assClozeTestGUI\writePostData(), assFlashQuestionGUI\writePostData(), assImagemapQuestionGUI\writePostData(), assLongMenuGUI\writePostData(), assKprimChoiceGUI\writePostData(), assOrderingQuestionGUI\writePostData(), and assLongMenuGUI\writeQuestionSpecificPostData().
assQuestionGUI::setAdjustmentEditContext | ( | ) |
Definition at line 394 of file class.assQuestionGUI.php.
References setEditContext().
|
protected |
Definition at line 1941 of file class.assQuestionGUI.php.
References $_GET, addTab_Question(), addTab_QuestionFeedback(), addTab_QuestionHints(), and addTab_SuggestedSolution().
Referenced by setQuestionTabs().
assQuestionGUI::setEditContext | ( | $editContext | ) |
string | $editContext |
Definition at line 373 of file class.assQuestionGUI.php.
References $editContext.
Referenced by setAdjustmentEditContext().
assQuestionGUI::setErrorMessage | ( | $errormessage | ) |
Definition at line 1103 of file class.assQuestionGUI.php.
References $errormessage.
Referenced by assOrderingHorizontalGUI\__construct(), assErrorTextGUI\__construct(), assMatchingQuestionGUI\__construct(), assFileUploadGUI\__construct(), and assFlashQuestionGUI\writeQuestionSpecificPostData().
assQuestionGUI::setNavigationGUI | ( | $navigationGUI | ) |
ilTestQuestionNavigationGUI | $navigationGUI |
Definition at line 410 of file class.assQuestionGUI.php.
References $navigationGUI.
Referenced by ilTestPlayerAbstractGUI\populateInstantResponseModal(), ilTestPlayerAbstractGUI\showQuestionEditable(), and ilTestPlayerAbstractGUI\showQuestionViewable().
assQuestionGUI::setPresentationContext | ( | $presentationContext | ) |
string | $presentationContext |
Definition at line 280 of file class.assQuestionGUI.php.
References $presentationContext.
assQuestionGUI::setPreviewSession | ( | $previewSession | ) |
\ilAssQuestionPreviewSession | $previewSession |
Definition at line 2242 of file class.assQuestionGUI.php.
References $previewSession.
assQuestionGUI::setPreviousSolutionPrefilled | ( | $previousSolutionPrefilled | ) |
boolean | $previousSolutionPrefilled |
Definition at line 302 of file class.assQuestionGUI.php.
References $previousSolutionPrefilled.
assQuestionGUI::setQuestionActionCmd | ( | $questionActionCmd | ) |
assQuestionGUI::setQuestionCount | ( | $a_question_count | ) |
Definition at line 1088 of file class.assQuestionGUI.php.
assQuestionGUI::setQuestionHeaderBlockBuilder | ( | $questionHeaderBlockBuilder | ) |
\ilQuestionHeaderBlockBuilder | $questionHeaderBlockBuilder |
Definition at line 443 of file class.assQuestionGUI.php.
References $questionHeaderBlockBuilder.
|
protected |
Definition at line 1966 of file class.assQuestionGUI.php.
Referenced by setQuestionTabs().
assQuestionGUI::setQuestionTabs | ( | ) |
Definition at line 1930 of file class.assQuestionGUI.php.
References $DIC, addBackTab(), setDefaultTabs(), and setQuestionSpecificTabs().
assQuestionGUI::setRenderPurpose | ( | $renderPurpose | ) |
string | $renderPurpose |
Definition at line 319 of file class.assQuestionGUI.php.
References $renderPurpose.
Referenced by suggestedsolution().
assQuestionGUI::setSequenceNumber | ( | $nr | ) |
Definition at line 1078 of file class.assQuestionGUI.php.
assQuestionGUI::setTargetGui | ( | $linkTargetGui | ) |
Definition at line 425 of file class.assQuestionGUI.php.
References setTargetGuiClass().
assQuestionGUI::setTargetGuiClass | ( | $targetGuiClass | ) |
Definition at line 430 of file class.assQuestionGUI.php.
References $targetGuiClass.
Referenced by setTargetGui().
assQuestionGUI::setTaxonomyIds | ( | $taxonomyIds | ) |
assQuestionGUI::setUseIntermediateSolution | ( | $use | ) |
Definition at line 2109 of file class.assQuestionGUI.php.
assQuestionGUI::showHints | ( | ) |
Definition at line 2275 of file class.assQuestionGUI.php.
References $DIC, and ilAssQuestionHintsGUI\CMD_SHOW_LIST.
assQuestionGUI::showSuggestedSolution | ( | ) |
Definition at line 1431 of file class.assQuestionGUI.php.
References suggestedsolution().
assQuestionGUI::suggestedsolution | ( | ) |
Allows to add suggested solutions for questions.
public
Definition at line 1441 of file class.assQuestionGUI.php.
References $_GET, $_POST, $DIC, $ilUser, $res, assQuestion\_getInternalLinkHref(), assQuestion\_isWriteable(), ilRadioGroupInputGUI\addOption(), getRenderPurpose(), getSolutionOutput(), ilUtil\makeDirParents(), ilUtil\moveUploadedFile(), originalSyncForm(), ilUtil\prepareFormOutput(), ilUtil\renameExecutables(), ilUtil\sendInfo(), ilCustomInputGUI\setHtml(), setRenderPurpose(), ilFormPropertyGUI\setRequired(), and ilTextAreaInputGUI\setValue().
Referenced by saveSuggestedSolution(), and showSuggestedSolution().
assQuestionGUI::supportsIntermediateSolutionOutput | ( | ) |
Question type specific support of intermediate solution output The function getSolutionOutput respects getUseIntermediateSolution()
Definition at line 2088 of file class.assQuestionGUI.php.
assQuestionGUI::sync | ( | ) |
Definition at line 755 of file class.assQuestionGUI.php.
References $_GET, ilLink\_getLink(), ilAssQuestionPreviewGUI\CMD_SHOW, ilObjectFactory\getInstanceByRefId(), ilTestExpressPage\getReturnToPageLink(), and ilUtil\redirect().
|
protected |
Evaluates a posted edit form and writes the form data in the question object.
Definition at line 476 of file class.assQuestionGUI.php.
Referenced by apply(), save(), saveEdit(), and saveReturn().
|
protected |
Definition at line 2136 of file class.assQuestionGUI.php.
References $_POST, Vendor\Package\$e, ilAssQuestionLifecycle\getInstance(), getPreview(), and ilUtil\stripOnlySlashes().
Referenced by assOrderingQuestionGUI\uploadElementImage(), assTextQuestionGUI\writePostData(), assTextSubsetGUI\writePostData(), assErrorTextGUI\writePostData(), assMatchingQuestionGUI\writePostData(), assFileUploadGUI\writePostData(), assOrderingHorizontalGUI\writePostData(), assSingleChoiceGUI\writePostData(), assJavaAppletGUI\writePostData(), assMultipleChoiceGUI\writePostData(), assNumericGUI\writePostData(), assClozeTestGUI\writePostData(), assFlashQuestionGUI\writePostData(), assImagemapQuestionGUI\writePostData(), assLongMenuGUI\writePostData(), assKprimChoiceGUI\writePostData(), and assOrderingQuestionGUI\writePostData().
|
protected |
Definition at line 117 of file class.assQuestionGUI.php.
|
private |
Definition at line 105 of file class.assQuestionGUI.php.
Referenced by getEditContext(), and setEditContext().
|
protected |
Definition at line 122 of file class.assQuestionGUI.php.
Referenced by buildEditForm().
assQuestionGUI::$error |
Definition at line 47 of file class.assQuestionGUI.php.
assQuestionGUI::$errormessage |
Definition at line 48 of file class.assQuestionGUI.php.
Referenced by addErrorMessage(), getErrorMessage(), and setErrorMessage().
assQuestionGUI::$lng |
Definition at line 46 of file class.assQuestionGUI.php.
Referenced by __construct(), _getQuestionGUI(), and assClozeTestGUI\getSpecificFeedbackOutput().
|
private |
Definition at line 78 of file class.assQuestionGUI.php.
Referenced by getNavigationGUI(), and setNavigationGUI().
assQuestionGUI::$object |
Definition at line 42 of file class.assQuestionGUI.php.
Referenced by callNewIdListeners(), and assFormulaQuestionGUI\isSaveCommand().
|
private |
Definition at line 86 of file class.assQuestionGUI.php.
Referenced by getPresentationContext(), and setPresentationContext().
|
private |
Definition at line 2237 of file class.assQuestionGUI.php.
Referenced by getPreviewSession(), and setPreviewSession().
|
private |
Definition at line 111 of file class.assQuestionGUI.php.
Referenced by isPreviousSolutionPrefilled(), and setPreviousSolutionPrefilled().
assQuestionGUI::$question_count |
question count in test
Definition at line 62 of file class.assQuestionGUI.php.
Referenced by getQuestionCount().
|
private |
Definition at line 68 of file class.assQuestionGUI.php.
Referenced by getQuestionActionCmd(), and setQuestionActionCmd().
|
private |
Definition at line 73 of file class.assQuestionGUI.php.
Referenced by getQuestionHeaderBlockBuilder(), and setQuestionHeaderBlockBuilder().
|
private |
Definition at line 97 of file class.assQuestionGUI.php.
Referenced by getRenderPurpose(), and setRenderPurpose().
assQuestionGUI::$request |
Definition at line 53 of file class.assQuestionGUI.php.
assQuestionGUI::$sequence_no |
sequence number in test
Definition at line 58 of file class.assQuestionGUI.php.
Referenced by getSequenceNumber().
|
private |
Definition at line 66 of file class.assQuestionGUI.php.
Referenced by getTargetGuiClass(), and setTargetGuiClass().
|
private |
Definition at line 64 of file class.assQuestionGUI.php.
Referenced by getTaxonomyIds(), and setTaxonomyIds().
assQuestionGUI::$tpl |
Definition at line 45 of file class.assQuestionGUI.php.
Referenced by __construct(), assLongMenuGUI\getAggregatedAnswersView(), assTextQuestionGUI\getBestAnswer(), assTextQuestionGUI\getJsCode(), getPreviousSolutionConfirmationCheckboxHtml(), assImagemapQuestionGUI\getPreviousSolutionConfirmationCheckboxHtml(), assLongMenuGUI\getSelectGapTemplate(), assOrderingQuestionGUI\getSpecificFeedbackOutput(), assLongMenuGUI\getTextGapTemplate(), assMultipleChoiceGUI\getUseUnchangedAnswerCheckboxHtml(), getUseUnchangedAnswerCheckboxHtml(), assLongMenuGUI\populateQuestionSpecificFormPart(), assClozeTestGUI\populateQuestionSpecificFormPart(), assNumericGUI\renderAggregateView(), assTextSubsetGUI\renderAggregateView(), assOrderingHorizontalGUI\renderAggregateView(), assOrderingQuestionGUI\renderAggregateView(), assSingleChoiceGUI\renderAggregateView(), assKprimChoiceGUI\renderAggregateView(), assImagemapQuestionGUI\renderAggregateView(), assMultipleChoiceGUI\renderAggregateView(), and writePostData().
|
protected |
Definition at line 128 of file class.assQuestionGUI.php.
Referenced by getUseIntermediateSolution().
const assQuestionGUI::EDIT_CONTEXT_ADJUSTMENT = 'adjustment' |
Definition at line 100 of file class.assQuestionGUI.php.
const assQuestionGUI::EDIT_CONTEXT_AUTHORING = 'authoring' |
Definition at line 99 of file class.assQuestionGUI.php.
Referenced by ilObjQuestionPoolGUI\executeCommand(), and ilObjTestGUI\executeCommand().
const assQuestionGUI::FORM_ENCODING_MULTIPART = 'multipart/form-data' |
Definition at line 29 of file class.assQuestionGUI.php.
const assQuestionGUI::FORM_ENCODING_URLENCODE = 'application/x-www-form-urlencoded' |
Definition at line 28 of file class.assQuestionGUI.php.
const assQuestionGUI::FORM_MODE_ADJUST = 'adjust' |
Definition at line 26 of file class.assQuestionGUI.php.
const assQuestionGUI::FORM_MODE_EDIT = 'edit' |
Definition at line 25 of file class.assQuestionGUI.php.
|
protected |
Definition at line 33 of file class.assQuestionGUI.php.
const assQuestionGUI::PRESENTATION_CONTEXT_RESULTS = 'pContextResults' |
Definition at line 81 of file class.assQuestionGUI.php.
const assQuestionGUI::PRESENTATION_CONTEXT_TEST = 'pContextTest' |
Definition at line 80 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\getQuestionGuiInstance().
const assQuestionGUI::RENDER_PURPOSE_DEMOPLAY = 'renderPurposeDemoplay' |
Definition at line 89 of file class.assQuestionGUI.php.
Referenced by ilAssQuestionPreviewGUI\initQuestion().
const assQuestionGUI::RENDER_PURPOSE_INPUT_VALUE = 'renderPurposeInputValue' |
Definition at line 92 of file class.assQuestionGUI.php.
const assQuestionGUI::RENDER_PURPOSE_PLAYBACK = 'renderPurposePlayback' |
Definition at line 88 of file class.assQuestionGUI.php.
const assQuestionGUI::RENDER_PURPOSE_PREVIEW = 'renderPurposePreview' |
Definition at line 90 of file class.assQuestionGUI.php.
Referenced by ilObjQuestionPoolGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilSCORM2004Asset\exportHTMLPageObjects(), ilQuestionPoolPrintViewTableGUI\fillRow(), ilAssQuestionPageCommandForwarder\forward(), ilSCORM2004PageGUI\getQuestionHtmlOfPage(), and ilObjTestGUI\reviewobject().
const assQuestionGUI::RENDER_PURPOSE_PRINT_PDF = 'renderPurposePrintPdf' |
Definition at line 91 of file class.assQuestionGUI.php.
Referenced by ilTestServiceGUI\getCorrectSolutionOutput(), ilTestServiceGUI\getPassListOfAnswers(), ilTestServiceGUI\getQuestionResultForTestUsers(), and ilObjTestGUI\printobject().
const assQuestionGUI::SESSION_PREVIEW_DATA_BASE_INDEX = 'ilAssQuestionPreviewAnswers' |
Definition at line 31 of file class.assQuestionGUI.php.