|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Basic GUI class for assessment questions. More...
Inheritance diagram for assQuestionGUI:
Collaboration diagram for assQuestionGUI:Public Member Functions | |
| hasInlineFeedback () | |
| addHeaderAction () | |
| redrawHeaderAction () | |
| getHeaderAction () | |
| geCommentsPanelHTML () | |
| executeCommand () | |
| getType () | |
| needed for page editor compliance More... | |
| getPresentationContext () | |
| setPresentationContext (string $presentationContext) | |
| isTestPresentationContext () | |
| isPreviousSolutionPrefilled () | |
| setPreviousSolutionPrefilled (bool $previousSolutionPrefilled) | |
| getRenderPurpose () | |
| setRenderPurpose (string $renderPurpose) | |
| isRenderPurposePrintPdf () | |
| isRenderPurposePreview () | |
| isRenderPurposeInputValue () | |
| isRenderPurposePlayback () | |
| isRenderPurposeDemoplay () | |
| renderPurposeSupportsFormHtml () | |
| getEditContext () | |
| setEditContext (string $editContext) | |
| isAuthoringEditContext () | |
| isAdjustmentEditContext () | |
| setAdjustmentEditContext () | |
| getNavigationGUI () | |
| setNavigationGUI (?ilTestQuestionNavigationGUI $navigationGUI) | |
| setTaxonomyIds (array $taxonomyIds) | |
| getTaxonomyIds () | |
| setTargetGui ($linkTargetGui) | |
| setTargetGuiClass ($targetGuiClass) | |
| getTargetGuiClass () | |
| setQuestionHeaderBlockBuilder (\ilQuestionHeaderBlockBuilder $questionHeaderBlockBuilder) | |
| getQuestionHeaderBlockBuilder () | |
| setQuestionActionCmd (string $questionActionCmd) | |
| getQuestionActionCmd () | |
| assessment () | |
| populateJavascriptFilesRequiredForWorkForm (ilGlobalTemplateInterface $tpl) | |
| getPresentationJavascripts () | |
| getQuestionTemplate () | |
| getILIASPage (string $html="") | |
| Returns the ILIAS Page around a question. More... | |
| outQuestionPage ($a_temp_var, $a_postponed=false, $active_id="", $html="", $inlineFeedbackEnabled=false) | |
| cancel () | |
| originalSyncForm (string $return_to="", string $return_to_feedback='') | |
| sync () | |
| cancelSync () | |
| saveEdit () | |
| save () | |
| saveReturn () | |
| apply () | |
| getContextPath ($cont_obj, int $a_endnode_id, int $a_startnode_id=1) | |
| get context path in content object tree More... | |
| setSequenceNumber (int $nr) | |
| getSequenceNumber () | |
| setQuestionCount (int $a_question_count) | |
| getQuestionCount () | |
| getErrorMessage () | |
| setErrorMessage (string $errormessage) | |
| addErrorMessage (string $errormessage) | |
| outAdditionalOutput () | |
| Why are you here? Some magic for plugins? More... | |
| getQuestionType () | |
| getAsValueAttribute (string $a_value) | |
| addNewIdListener ($a_object, string $a_method, string $a_parameters="") | |
| Add a listener that is notified with the new question ID, when a new question is saved. More... | |
| callNewIdListeners (int $a_new_id) | |
| addQuestionFormCommandButtons (ilPropertyFormGUI $form) | |
| addBasicQuestionFormProperties (ilPropertyFormGUI $form) | |
| getGenericFeedbackOutput (int $active_id, ?int $pass) | |
| getGenericFeedbackOutputForCorrectSolution () | |
| getGenericFeedbackOutputForIncorrectSolution () | |
| getSpecificFeedbackOutput (array $userSolution) | |
| Returns the answer specific feedback for the question. More... | |
| outQuestionType () | |
| suggestedsolution () | |
| outSolutionExplorer () | |
| saveSuggestedSolutionType () | |
| cancelExplorer () | |
| outPageSelector () | |
| outChapterSelector () | |
| outGlossarySelector () | |
| linkChilds () | |
| addPG () | |
| addST () | |
| addGIT () | |
| isSaveCommand () | |
| setQuestionTabs () | |
| addTab_SuggestedSolution (ilTabsGUI $tabs, string $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) | |
| renderSolutionOutput (mixed $user_solutions, int $active_id, int $pass, bool $graphical_output=false, bool $result_output=false, bool $show_question_only=true, bool $show_feedback=false, bool $show_correct_solution=false, bool $show_manual_scoring=false, bool $show_question_text=true, bool $show_autosave_title=false, bool $show_inline_feedback=false,) | |
| isAutosaveable () | |
| getPreview ($show_question_only=false, $showInlineFeedback=false) | |
| outQuestionForTest (string $formaction, int $active_id, ?int $pass, bool $is_question_postponed=false, $user_post_solutions=false, bool $show_specific_inline_feedback=false) | |
| magicAfterTestOutput () | |
| getTestOutput ( $active_id, $pass, $is_question_postponed, $user_post_solutions, $show_specific_inline_feedback) | |
| getFormEncodingType () | |
| setPreviewSession (ilAssQuestionPreviewSession $previewSession) | |
| getPreviewSession () | |
| showHints () | |
| buildFocusAnchorHtml () | |
| isAnswerFrequencyStatisticSupported () | |
| getSubQuestionsIndex () | |
| getAnswersFrequency ($relevantAnswers, $questionIndex) | |
| getAnswerFrequencyTableGUI ($parentGui, $parentCmd, $relevantAnswers, $questionIndex) | |
| prepareReprintableCorrectionsForm (ilPropertyFormGUI $form) | |
| populateCorrectionsFormProperties (ilPropertyFormGUI $form) | |
| saveCorrectionsFormProperties (ilPropertyFormGUI $form) | |
| isInLearningModuleContext () | |
| setInLearningModuleContext (bool $flag) | |
| getAutoSavedSolutionOutput (int $active_id, int $pass, bool $graphical_output=false, bool $result_output=false, bool $show_question_only=true, bool $show_feedback=false, bool $show_correct_solution=false, bool $show_manual_scoring=false, bool $show_question_text=true, bool $show_autosave_title=false, bool $show_inline_feedback=false) | |
Static Public Member Functions | |
| static | _getQuestionGUI (string $question_type='', int $question_id=-1) |
| Creates a question gui representation and returns the alias to the question gui. More... | |
| static | _getGUIClassNameForId ($a_q_id) |
| static | _getClassNameForQType ($q_type) |
| static | getCommandsFromClassConstants (string $guiClassName, string $cmdConstantNameBegin='CMD_') |
| static | prepareTextareaOutput (?string $txt_output, bool $prepare_for_latex_output=false, bool $omitNl2BrWhenTextArea=false) |
| Prepares a string for a text area output where latex code may be in it If the text is HTML-free, CHR(13) will be converted to a line break. 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 | CORRECTNESS_NOT_OK = 0 |
| const | CORRECTNESS_MOSTLY_OK = 1 |
| const | CORRECTNESS_OK = 2 |
| const | ALLOWED_PLAIN_TEXT_TAGS = "<em>, <strong>" |
| sk - 12.05.2023: This const is also used in ilKprimChoiceWizardInputGUI. More... | |
| const | SESSION_PREVIEW_DATA_BASE_INDEX = 'ilAssQuestionPreviewAnswers' |
| assQuestion | $object |
| ilGlobalPageTemplate | $tpl |
| ilLanguage | $lng |
| $error | |
| string | $errormessage |
| int | $sequence_no |
| sequence number in test More... | |
| int | $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 | SUGGESTED_SOLUTION_COMMANDS_CANCEL = 'cancelSuggestedSolution' |
| const | SUGGESTED_SOLUTION_COMMANDS_SAVE = 'saveSuggestedSolution' |
| const | SUGGESTED_SOLUTION_COMMANDS_DEFAULT = 'suggestedsolution' |
| const | HAS_SPECIAL_QUESTION_COMMANDS = false |
| ilLogger | $logger |
| ILIAS TestQuestionPool QuestionInfoService | $questioninfo |
| ILIAS Notes GUIService | $notes_gui |
| ilCtrl | $ctrl |
| Refinery | $refinery |
| ilPropertyFormGUI | $editForm |
| ILIAS TestQuestionPool InternalRequestService | $request |
| bool | $parent_type_is_lm = false |
| assQuestionSuggestedSolutionsDatabaseRepository | $suggestedsolution_repo = null |
Private Member Functions | |
| saveQuestionToTest () | |
Private Attributes | |
| const | RETURN_AFTER_EXISTING_WITH_ORIGINAL_SAVE = -1 |
| const | RETURN_AFTER_EXISTING_SAVE = 0 |
| $ui | |
| ilObjectDataCache | $ilObjDataCache |
| ilHelpGUI | $ilHelp |
| ilAccessHandler | $access |
| ilObjUser | $ilUser |
| ilTabsGUI | $ilTabs |
| ilRbacSystem | $rbacsystem |
| ilTree | $tree |
| ilDBInterface | $db |
| ilComponentRepository | $component_repository |
| array | $new_id_listeners = array() |
| int | $new_id_listener_cnt = 0 |
| $previewSession | |
| $taxonomyIds = [] | |
| $targetGuiClass = null | |
| string | $questionActionCmd = 'handleQuestionAction' |
| ilQuestionHeaderBlockBuilder | $questionHeaderBlockBuilder |
| ilTestQuestionNavigationGUI | $navigationGUI = null |
| string | $presentationContext = null |
| string | $renderPurpose = self::RENDER_PURPOSE_PLAYBACK |
| string | $editContext = self::EDIT_CONTEXT_AUTHORING |
| bool | $previousSolutionPrefilled = false |
Basic GUI class for assessment questions.
The assQuestionGUI class encapsulates basic GUI functions for assessment questions.
Definition at line 33 of file class.assQuestionGUI.php.
|
static |
Definition at line 495 of file class.assQuestionGUI.php.
Referenced by _getGUIClassNameForId().
Here is the caller graph for this function:
|
static |
Definition at line 484 of file class.assQuestionGUI.php.
References $DIC, and _getClassNameForQType().
Referenced by ilQuestionBrowserTableGUI\fillRow(), and ilObjQuestionPoolGUI\getQueryParamInt().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Creates a question gui representation and returns the alias to the question gui.
Definition at line 453 of file class.assQuestionGUI.php.
References $DIC, $ilDB, and assQuestion\getFeedbackClassNameByQuestionType().
Referenced by ilObjQuestionPoolGUI\addLocatorItems(), ilTestExpressPageObjectGUI\addPageOfQuestions(), ilObjQuestionPoolGUI\createQuestionForTestObject(), ilObjQuestionPoolGUI\createQuestionObject(), ilPCQuestionGUI\edit(), ilTestExpressPageObjectGUI\executeCommand(), ilQuestionEditGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilPageObjectGUI\executeCommand(), ilQuestionExporter\exportQuestion(), ilObjAssessmentFolder\fetchScoringAdjustableTypes(), ilAssQuestionPageCommandForwarder\forward(), ilPCQuestion\getJavascriptFiles(), ilObjQuestionPoolGUI\getQueryParamInt(), ilTestExpressPageObjectGUI\handleToolbarCommand(), ilPCQuestion\modifyPageContentPostXsl(), ilAssQuestionSkillAssignmentsGUI\saveSkillQuestionAssignmentPropertiesFormCmd(), ilObjQuestionPoolGUI\setTitleAndDescription(), and ilAssQuestionSkillAssignmentsGUI\showSkillQuestionAssignmentPropertiesFormCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1854 of file class.assQuestionGUI.php.
References ilAssQuestionPreviewGUI\CMD_SHOW, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilTabsGUI\setBackTarget().
Referenced by setDefaultTabs(), and setQuestionTabs().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::addBasicQuestionFormProperties | ( | ilPropertyFormGUI | $form | ) |
Definition at line 946 of file class.assQuestionGUI.php.
References $lifecycle, ilObjAdvancedEditing\_getUsedHTMLTags(), ilPropertyFormGUI\addItem(), assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_IPE, addNumberOfTriesToFormIfNecessary(), ilAssSelfAssessmentQuestionFormatter\getSelfAssessmentTags(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilLegacyFormElementsUtil\prepareFormOutput(), and ilTextAreaInputGUI\setValue().
Referenced by assKprimChoiceGUI\buildEditForm(), assImagemapQuestionGUI\buildEditForm(), assLongMenuGUI\buildEditForm(), assOrderingQuestionGUI\buildEditForm(), assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assTextSubsetGUI\editQuestion(), assNumericGUI\editQuestion(), assFileUploadGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), and assFormulaQuestionGUI\isSaveCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::addErrorMessage | ( | string | $errormessage | ) |
Definition at line 889 of file class.assQuestionGUI.php.
References $errormessage.
Referenced by assFormulaQuestionGUI\checkInput(), and assFormulaQuestionGUI\writePostData().
Here is the caller graph for this function:| assQuestionGUI::addGIT | ( | ) |
Definition at line 1588 of file class.assQuestionGUI.php.
References createSuggestedSolutionLinkingTo(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| assQuestionGUI::addHeaderAction | ( | ) |
Definition at line 172 of file class.assQuestionGUI.php.
| assQuestionGUI::addNewIdListener | ( | $a_object, | |
| string | $a_method, | ||
| string | $a_parameters = "" |
||
| ) |
Add a listener that is notified with the new question ID, when a new question is saved.
Definition at line 918 of file class.assQuestionGUI.php.
References $new_id_listener_cnt.
|
protected |
Definition at line 1010 of file class.assQuestionGUI.php.
References ilPropertyFormGUI\addItem(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by assClozeTestGUI\addBasicQuestionFormProperties(), and addBasicQuestionFormProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::addPG | ( | ) |
Definition at line 1572 of file class.assQuestionGUI.php.
References createSuggestedSolutionLinkingTo(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| assQuestionGUI::addQuestionFormCommandButtons | ( | ilPropertyFormGUI | $form | ) |
Definition at line 938 of file class.assQuestionGUI.php.
References ilPropertyFormGUI\addCommandButton(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by assKprimChoiceGUI\buildEditForm(), assImagemapQuestionGUI\buildEditForm(), assLongMenuGUI\buildEditForm(), assMultipleChoiceGUI\buildEditForm(), assTextQuestionGUI\editQuestion(), assTextSubsetGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assNumericGUI\editQuestion(), assFileUploadGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), and assClozeTestGUI\editQuestion().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 2077 of file class.assQuestionGUI.php.
Referenced by assFormulaQuestionGUI\callSpecialQuestionCommands(), executeCommand(), and assFormulaQuestionGUI\parseQuestion().
Here is the caller graph for this function:| assQuestionGUI::addST | ( | ) |
Definition at line 1580 of file class.assQuestionGUI.php.
References createSuggestedSolutionLinkingTo(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 1722 of file class.assQuestionGUI.php.
References ilTabsGUI\addTarget(), ILIAS\Repository\ctrl(), and getSolutionOutput().
Referenced by setDefaultTabs().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1692 of file class.assQuestionGUI.php.
References ilTabsGUI\addTarget(), ilAssQuestionFeedbackEditingGUI\CMD_SHOW, and ILIAS\Repository\ctrl().
Referenced by setDefaultTabs().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1701 of file class.assQuestionGUI.php.
References ilTabsGUI\addTarget(), ilAssQuestionHintsGUI\CMD_SHOW_LIST, and ILIAS\Repository\ctrl().
Referenced by setDefaultTabs().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::addTab_SuggestedSolution | ( | ilTabsGUI | $tabs, |
| string | $classname | ||
| ) |
Definition at line 1662 of file class.assQuestionGUI.php.
References ilTabsGUI\addTarget(), and ILIAS\Repository\ctrl().
Referenced by setDefaultTabs().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::apply | ( | ) |
Definition at line 830 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\object(), and writePostData().
Here is the call graph for this function:| assQuestionGUI::assessment | ( | ) |
Definition at line 439 of file class.assQuestionGUI.php.
|
protected |
Definition at line 1876 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), getType(), and outQuestionType().
Referenced by assKprimChoiceGUI\buildEditForm(), assImagemapQuestionGUI\buildEditForm(), and assLongMenuGUI\buildEditForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1897 of file class.assQuestionGUI.php.
References $editForm.
Referenced by assMultipleChoiceGUI\editQuestion(), executeCommand(), and assMultipleChoiceGUI\writePostData().
Here is the caller graph for this function:| assQuestionGUI::buildFocusAnchorHtml | ( | ) |
Definition at line 1903 of file class.assQuestionGUI.php.
Referenced by assSingleChoiceGUI\getPreview(), assKprimChoiceGUI\getPreview(), assMultipleChoiceGUI\getPreview(), assMultipleChoiceGUI\renderSolutionOutput(), assSingleChoiceGUI\renderSolutionOutput(), and assKprimChoiceGUI\renderSolutionOutput().
Here is the caller graph for this function:| assQuestionGUI::callNewIdListeners | ( | int | $a_new_id | ) |
Definition at line 927 of file class.assQuestionGUI.php.
References $new_id_listener_cnt.
Referenced by save(), and saveReturn().
Here is the caller graph for this function:| assQuestionGUI::cancel | ( | ) |
Definition at line 598 of file class.assQuestionGUI.php.
References $_GET, ILIAS\Repository\ctrl(), and ilUtil\redirect().
Here is the call graph for this function:| assQuestionGUI::cancelExplorer | ( | ) |
Definition at line 1422 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| assQuestionGUI::cancelSync | ( | ) |
Definition at line 658 of file class.assQuestionGUI.php.
References ilAssQuestionPreviewGUI\CMD_SHOW, ILIAS\Repository\ctrl(), ilTestExpressPage\getReturnToPageLink(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Here is the call graph for this function:
|
protected |
sk - 12.05.2023: This is one more of those that we need, but don't want.
Definition at line 2047 of file class.assQuestionGUI.php.
References ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), and ilArrayUtil\stripSlashesRecursive().
Referenced by assSingleChoiceGUI\writeAnswerSpecificPostData(), and assMultipleChoiceGUI\writeAnswerSpecificPostData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1829 of file class.assQuestionGUI.php.
Referenced by outQuestionForTest().
Here is the caller graph for this function:
|
protected |
Definition at line 1537 of file class.assQuestionGUI.php.
References getSuggestedSolutionsRepo().
Referenced by addGIT(), addPG(), addST(), and linkChilds().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1892 of file class.assQuestionGUI.php.
Referenced by assTextSubsetGUI\getPreview(), assTextSubsetGUI\getTestOutput(), assClozeTestGUI\populateJSON(), and assTextSubsetGUI\renderSolutionOutput().
Here is the caller graph for this function:| assQuestionGUI::executeCommand | ( | ) |
Definition at line 208 of file class.assQuestionGUI.php.
References addSaveOnEnterOnLoadCode(), buildEditForm(), ILIAS\Repository\ctrl(), hasSpecialQuestionCommands(), ilUtil\stripSlashes(), and suggestedsolution().
Here is the call graph for this function:| assQuestionGUI::geCommentsPanelHTML | ( | ) |
Definition at line 202 of file class.assQuestionGUI.php.
References ilCommentGUI\getListHTML(), and ILIAS\Repository\object().
Here is the call graph for this function:
|
protected |
Definition at line 1945 of file class.assQuestionGUI.php.
References $path, ilUtil\getImagePath(), ILIAS\Repository\lng(), and ILIAS\Repository\ui().
Referenced by assLongMenuGUI\getSelectGapTemplate(), assFileUploadGUI\getSolutionOutput(), assImagemapQuestionGUI\getSolutionOutput(), assLongMenuGUI\getTextGapTemplate(), assOrderingHorizontalGUI\renderSolutionOutput(), assTextQuestionGUI\renderSolutionOutput(), assTextSubsetGUI\renderSolutionOutput(), assNumericGUI\renderSolutionOutput(), assMultipleChoiceGUI\renderSolutionOutput(), assErrorTextGUI\renderSolutionOutput(), assSingleChoiceGUI\renderSolutionOutput(), assMatchingQuestionGUI\renderSolutionOutput(), assKprimChoiceGUI\renderSolutionOutput(), assFormulaQuestionGUI\renderSolutionOutput(), and assClozeTestGUI\renderSolutionOutput().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1096 of file class.assQuestionGUI.php.
Referenced by getGenericFeedbackOutput(), and assClozeTestGUI\getGenericFeedbackOutput().
Here is the caller graph for this function:
|
protected |
Definition at line 1687 of file class.assQuestionGUI.php.
Referenced by getEditQuestionTabCommands().
Here is the caller graph for this function:| assQuestionGUI::getAnswerFrequencyTableGUI | ( | $parentGui, | |
| $parentCmd, | |||
| $relevantAnswers, | |||
| $questionIndex | |||
| ) |
Definition at line 1923 of file class.assQuestionGUI.php.
References getAnswersFrequency().
Here is the call graph for this function:| assQuestionGUI::getAnswersFrequency | ( | $relevantAnswers, | |
| $questionIndex | |||
| ) |
Definition at line 1918 of file class.assQuestionGUI.php.
Referenced by getAnswerFrequencyTableGUI().
Here is the caller graph for this function:| assQuestionGUI::getAsValueAttribute | ( | string | $a_value | ) |
Definition at line 904 of file class.assQuestionGUI.php.
| assQuestionGUI::getAutoSavedSolutionOutput | ( | int | $active_id, |
| int | $pass, | ||
| bool | $graphical_output = false, |
||
| bool | $result_output = false, |
||
| bool | $show_question_only = true, |
||
| bool | $show_feedback = false, |
||
| bool | $show_correct_solution = false, |
||
| bool | $show_manual_scoring = false, |
||
| bool | $show_question_text = true, |
||
| bool | $show_autosave_title = false, |
||
| bool | $show_inline_feedback = false |
||
| ) |
Definition at line 2097 of file class.assQuestionGUI.php.
References renderSolutionOutput().
Here is the call graph for this function:
|
protected |
Definition at line 1682 of file class.assQuestionGUI.php.
Referenced by getEditQuestionTabCommands().
Here is the caller graph for this function:
|
static |
Definition at line 1601 of file class.assQuestionGUI.php.
Referenced by ilPCQuestionGUI\setTabs().
Here is the caller graph for this function:| assQuestionGUI::getContextPath | ( | $cont_obj, | |
| int | $a_endnode_id, | ||
| int | $a_startnode_id = 1 |
||
| ) |
get context path in content object tree
Definition at line 841 of file class.assQuestionGUI.php.
References $path.
Referenced by outPageSelector().
Here is the caller graph for this function:| assQuestionGUI::getEditContext | ( | ) |
Definition at line 344 of file class.assQuestionGUI.php.
References $editContext.
Referenced by isAdjustmentEditContext(), and isAuthoringEditContext().
Here is the caller graph for this function:
|
final |
Definition at line 1677 of file class.assQuestionGUI.php.
References getAdditionalEditQuestionCommands(), and getBasicEditQuestionTabCommands().
Here is the call graph for this function:| assQuestionGUI::getErrorMessage | ( | ) |
Definition at line 879 of file class.assQuestionGUI.php.
References $errormessage.
Referenced by assTextQuestionGUI\addSuggestedSolution(), and assFormulaQuestionGUI\suggestRange().
Here is the caller graph for this function:| assQuestionGUI::getFormEncodingType | ( | ) |
Definition at line 1849 of file class.assQuestionGUI.php.
Referenced by outQuestionForTest(), and ilTestPlayerAbstractGUI\showQuestionViewable().
Here is the caller graph for this function:| assQuestionGUI::getGenericFeedbackOutput | ( | int | $active_id, |
| ?int | $pass | ||
| ) |
| int | null | $pass | Active pass |
Definition at line 1076 of file class.assQuestionGUI.php.
References genericFeedbackOutputBuilder(), ilObjTest\getManualFeedback(), ILIAS\Repository\object(), and ilLegacyFormElementsUtil\prepareTextareaOutput().
Referenced by assTextQuestionGUI\getAutoSavedSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assImagemapQuestionGUI\getSolutionOutput(), ilTestPlayerAbstractGUI\populateGenericFeedbackBlock(), assOrderingHorizontalGUI\renderSolutionOutput(), assTextQuestionGUI\renderSolutionOutput(), assTextSubsetGUI\renderSolutionOutput(), assNumericGUI\renderSolutionOutput(), assMultipleChoiceGUI\renderSolutionOutput(), assErrorTextGUI\renderSolutionOutput(), assSingleChoiceGUI\renderSolutionOutput(), assLongMenuGUI\renderSolutionOutput(), assOrderingQuestionGUI\renderSolutionOutput(), assMatchingQuestionGUI\renderSolutionOutput(), assKprimChoiceGUI\renderSolutionOutput(), and assFormulaQuestionGUI\renderSolutionOutput().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::getGenericFeedbackOutputForCorrectSolution | ( | ) |
Definition at line 1114 of file class.assQuestionGUI.php.
References ILIAS\Repository\object(), and ilLegacyFormElementsUtil\prepareTextareaOutput().
Here is the call graph for this function:| assQuestionGUI::getGenericFeedbackOutputForIncorrectSolution | ( | ) |
Definition at line 1122 of file class.assQuestionGUI.php.
References getSpecificFeedbackOutput(), ILIAS\Repository\object(), and ilLegacyFormElementsUtil\prepareTextareaOutput().
Here is the call graph for this function:| assQuestionGUI::getHeaderAction | ( | ) |
Definition at line 182 of file class.assQuestionGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\object(), ilCommonActionDispatcherGUI\setSubObject(), ilCommonActionDispatcherGUI\TYPE_REPOSITORY, and ILIAS\Repository\ui().
Referenced by redrawHeaderAction().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::getILIASPage | ( | string | $html = "" | ) |
Returns the ILIAS Page around a question.
Definition at line 537 of file class.assQuestionGUI.php.
References ILIAS\Repository\object(), and ilPageObjectGUI\setQuestionHTML().
Referenced by assErrorTextGUI\generateQuestionOutput(), assTextQuestionGUI\getAutoSavedSolutionOutput(), assOrderingHorizontalGUI\getPreview(), assFileUploadGUI\getPreview(), assNumericGUI\getPreview(), assTextSubsetGUI\getPreview(), assSingleChoiceGUI\getPreview(), assLongMenuGUI\getPreview(), assTextQuestionGUI\getPreview(), assKprimChoiceGUI\getPreview(), assMultipleChoiceGUI\getPreview(), assOrderingQuestionGUI\getPreview(), assImagemapQuestionGUI\getPreview(), assMatchingQuestionGUI\getPreview(), assClozeTestGUI\getPreview(), assFormulaQuestionGUI\getPreview(), assFileUploadGUI\getSolutionOutput(), assImagemapQuestionGUI\getSolutionOutput(), assOrderingHorizontalGUI\getTestOutput(), assFileUploadGUI\getTestOutput(), assOrderingHorizontalGUI\renderSolutionOutput(), assTextQuestionGUI\renderSolutionOutput(), assTextSubsetGUI\renderSolutionOutput(), assNumericGUI\renderSolutionOutput(), assMultipleChoiceGUI\renderSolutionOutput(), assErrorTextGUI\renderSolutionOutput(), assSingleChoiceGUI\renderSolutionOutput(), assLongMenuGUI\renderSolutionOutput(), assOrderingQuestionGUI\renderSolutionOutput(), assMatchingQuestionGUI\renderSolutionOutput(), assKprimChoiceGUI\renderSolutionOutput(), assFormulaQuestionGUI\renderSolutionOutput(), and assClozeTestGUI\renderSolutionOutput().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::getNavigationGUI | ( | ) |
Definition at line 369 of file class.assQuestionGUI.php.
References $navigationGUI.
Referenced by outQuestionPage().
Here is the caller graph for this function:| assQuestionGUI::getPresentationContext | ( | ) |
Definition at line 269 of file class.assQuestionGUI.php.
References $presentationContext.
Referenced by isTestPresentationContext().
Here is the caller graph for this function:| assQuestionGUI::getPresentationJavascripts | ( | ) |
Definition at line 507 of file class.assQuestionGUI.php.
Referenced by populateJavascriptFilesRequiredForWorkForm().
Here is the caller graph for this function:
|
abstract |
| assQuestionGUI::getPreviewSession | ( | ) |
Definition at line 1871 of file class.assQuestionGUI.php.
References $previewSession.
Referenced by assOrderingHorizontalGUI\getPreview(), assFileUploadGUI\getPreview(), assNumericGUI\getPreview(), assTextSubsetGUI\getPreview(), assSingleChoiceGUI\getPreview(), assLongMenuGUI\getPreview(), assTextQuestionGUI\getPreview(), assKprimChoiceGUI\getPreview(), assMultipleChoiceGUI\getPreview(), assOrderingQuestionGUI\getPreview(), assImagemapQuestionGUI\getPreview(), assMatchingQuestionGUI\getPreview(), assClozeTestGUI\getPreview(), assFormulaQuestionGUI\getPreview(), assFormulaQuestionGUI\getSolutionOutput(), and assErrorTextGUI\getUsersSolutionFromPreviewOrDatabase().
Here is the caller graph for this function:
|
protected |
Definition at line 591 of file class.assQuestionGUI.php.
References ilGlobalPageTemplate\get(), ILIAS\Repository\lng(), and ilGlobalPageTemplate\setVariable().
Referenced by outQuestionPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 586 of file class.assQuestionGUI.php.
References ILIAS\Repository\lng().
Referenced by outQuestionPage().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::getQuestionActionCmd | ( | ) |
Definition at line 425 of file class.assQuestionGUI.php.
References $questionActionCmd.
Referenced by assImagemapQuestionGUI\buildAreaLinkTarget(), assFileUploadGUI\getPreview(), assImagemapQuestionGUI\getPreview(), assImagemapQuestionGUI\getPreviousSolutionConfirmationCheckboxHtml(), and assFileUploadGUI\getTestOutput().
Here is the caller graph for this function:| assQuestionGUI::getQuestionCount | ( | ) |
Definition at line 874 of file class.assQuestionGUI.php.
References $question_count.
| assQuestionGUI::getQuestionHeaderBlockBuilder | ( | ) |
Definition at line 410 of file class.assQuestionGUI.php.
References $questionHeaderBlockBuilder.
Referenced by ilTestPlayerAbstractGUI\populateInstantResponseModal(), ilTestPlayerAbstractGUI\showQuestionEditable(), and ilTestPlayerAbstractGUI\showQuestionViewable().
Here is the caller graph for this function:| assQuestionGUI::getQuestionTemplate | ( | ) |
Definition at line 512 of file class.assQuestionGUI.php.
Referenced by assTextQuestionGUI\addSuggestedSolution(), assImagemapQuestionGUI\areaEditor(), assKprimChoiceGUI\editQuestion(), assTextQuestionGUI\editQuestion(), assTextSubsetGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assNumericGUI\editQuestion(), assFileUploadGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assLongMenuGUI\editQuestion(), assImagemapQuestionGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), assFormulaQuestionGUI\isSaveCommand(), and renderEditForm().
Here is the caller graph for this function:| assQuestionGUI::getQuestionType | ( | ) |
Definition at line 899 of file class.assQuestionGUI.php.
Referenced by ilTestCorrectionsGUI\allowedInAdjustment(), and getType().
Here is the caller graph for this function:| assQuestionGUI::getRenderPurpose | ( | ) |
Definition at line 296 of file class.assQuestionGUI.php.
References $renderPurpose.
Referenced by isRenderPurposeDemoplay(), isRenderPurposeInputValue(), isRenderPurposePlayback(), isRenderPurposePreview(), and isRenderPurposePrintPdf().
Here is the caller graph for this function:| assQuestionGUI::getSequenceNumber | ( | ) |
Definition at line 864 of file class.assQuestionGUI.php.
References $sequence_no.
|
abstract |
Referenced by addTab_Question(), ilAssQuestionSkillAssignmentsGUI\buildQuestionPage(), ilTestPlayerAbstractGUI\populateInstantResponseBlocks(), ilTestPlayerAbstractGUI\populateInstantResponseModal(), and ilTestPlayerAbstractGUI\showQuestionViewable().
Here is the caller graph for this function:
|
abstract |
Returns the answer specific feedback for the question.
| array | $userSolution | ($userSolution[<value1>] = <value2>) |
Referenced by getGenericFeedbackOutputForIncorrectSolution(), and ilTestPlayerAbstractGUI\populateSpecificFeedbackBlock().
Here is the caller graph for this function:| assQuestionGUI::getSubQuestionsIndex | ( | ) |
Definition at line 1913 of file class.assQuestionGUI.php.
|
protected |
Definition at line 2034 of file class.assQuestionGUI.php.
References $dic, $suggestedsolution_repo, and ilQuestionPoolDIC\dic().
Referenced by createSuggestedSolutionLinkingTo(), and suggestedsolution().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::getTargetGuiClass | ( | ) |
Definition at line 399 of file class.assQuestionGUI.php.
References $targetGuiClass.
Referenced by assImagemapQuestionGUI\buildAreaLinkTarget(), assErrorTextGUI\generateQuestionOutput(), assImagemapQuestionGUI\getPreview(), and assImagemapQuestionGUI\getTestOutput().
Here is the caller graph for this function:| assQuestionGUI::getTaxonomyIds | ( | ) |
Definition at line 384 of file class.assQuestionGUI.php.
References $taxonomyIds.
Referenced by populateTaxonomyFormSection(), and saveTaxonomyAssignments().
Here is the caller graph for this function:
|
abstract |
Referenced by magicAfterTestOutput(), and outQuestionForTest().
Here is the caller graph for this function:| assQuestionGUI::getType | ( | ) |
needed for page editor compliance
Definition at line 264 of file class.assQuestionGUI.php.
References getQuestionType().
Referenced by buildBasicEditFormObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1149 of file class.assQuestionGUI.php.
References ILIAS\Repository\lng().
Referenced by suggestedsolution().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 579 of file class.assQuestionGUI.php.
References ilGlobalPageTemplate\get(), ILIAS\Repository\object(), and ilGlobalPageTemplate\setVariable().
Referenced by outQuestionPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1768 of file class.assQuestionGUI.php.
Referenced by assTextQuestionGUI\getAutoSavedSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assImagemapQuestionGUI\getSolutionOutput(), assOrderingHorizontalGUI\renderSolutionOutput(), assTextQuestionGUI\renderSolutionOutput(), assTextSubsetGUI\renderSolutionOutput(), assNumericGUI\renderSolutionOutput(), assMultipleChoiceGUI\renderSolutionOutput(), assErrorTextGUI\renderSolutionOutput(), assSingleChoiceGUI\renderSolutionOutput(), assLongMenuGUI\renderSolutionOutput(), assOrderingQuestionGUI\renderSolutionOutput(), assMatchingQuestionGUI\renderSolutionOutput(), assKprimChoiceGUI\renderSolutionOutput(), assFormulaQuestionGUI\renderSolutionOutput(), and assClozeTestGUI\renderSolutionOutput().
Here is the caller graph for this function:| assQuestionGUI::hasInlineFeedback | ( | ) |
Definition at line 167 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\populateInstantResponseBlocks().
Here is the caller graph for this function:
|
protected |
Definition at line 258 of file class.assQuestionGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:| assQuestionGUI::isAdjustmentEditContext | ( | ) |
Definition at line 359 of file class.assQuestionGUI.php.
References getEditContext().
Here is the call graph for this function:| assQuestionGUI::isAnswerFrequencyStatisticSupported | ( | ) |
Definition at line 1908 of file class.assQuestionGUI.php.
Referenced by ilTestCorrectionsGUI\setCorrectionTabsContext().
Here is the caller graph for this function:| assQuestionGUI::isAuthoringEditContext | ( | ) |
Definition at line 354 of file class.assQuestionGUI.php.
References getEditContext().
Here is the call graph for this function:| assQuestionGUI::isAutosaveable | ( | ) |
Definition at line 1776 of file class.assQuestionGUI.php.
| assQuestionGUI::isInLearningModuleContext | ( | ) |
Definition at line 2068 of file class.assQuestionGUI.php.
References $parent_type_is_lm.
Referenced by assOrderingQuestionGUI\addEditSubtabs(), and assOrderingQuestionGUI\populateQuestionSpecificFormPart().
Here is the caller graph for this function:| assQuestionGUI::isPreviousSolutionPrefilled | ( | ) |
Definition at line 285 of file class.assQuestionGUI.php.
References $previousSolutionPrefilled.
| assQuestionGUI::isRenderPurposeDemoplay | ( | ) |
Definition at line 326 of file class.assQuestionGUI.php.
References getRenderPurpose().
Referenced by assOrderingQuestionGUI\isInteractivePresentation().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::isRenderPurposeInputValue | ( | ) |
Definition at line 316 of file class.assQuestionGUI.php.
References getRenderPurpose().
Referenced by renderPurposeSupportsFormHtml().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::isRenderPurposePlayback | ( | ) |
Definition at line 321 of file class.assQuestionGUI.php.
References getRenderPurpose().
Referenced by assOrderingQuestionGUI\isInteractivePresentation().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::isRenderPurposePreview | ( | ) |
Definition at line 311 of file class.assQuestionGUI.php.
References getRenderPurpose().
Here is the call graph for this function:| assQuestionGUI::isRenderPurposePrintPdf | ( | ) |
Definition at line 306 of file class.assQuestionGUI.php.
References getRenderPurpose().
Referenced by assOrderingQuestionGUI\buildNestingForm(), assOrderingQuestionGUI\populateAnswerSpecificFormPart(), assClozeTestGUI\populateSolutiontextToGapTpl(), renderPurposeSupportsFormHtml(), assMultipleChoiceGUI\renderSolutionOutput(), assSingleChoiceGUI\renderSolutionOutput(), and assKprimChoiceGUI\renderSolutionOutput().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::isSaveCommand | ( | ) |
Definition at line 1596 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl().
Referenced by assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assTextSubsetGUI\editQuestion(), assNumericGUI\editQuestion(), assFileUploadGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), and assClozeTestGUI\editQuestion().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::isTestPresentationContext | ( | ) |
Definition at line 279 of file class.assQuestionGUI.php.
References getPresentationContext().
Referenced by assTextQuestionGUI\getAutoSavedSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assImagemapQuestionGUI\getSolutionOutput(), assOrderingHorizontalGUI\renderSolutionOutput(), assTextQuestionGUI\renderSolutionOutput(), assTextSubsetGUI\renderSolutionOutput(), assNumericGUI\renderSolutionOutput(), assMultipleChoiceGUI\renderSolutionOutput(), assErrorTextGUI\renderSolutionOutput(), assSingleChoiceGUI\renderSolutionOutput(), assLongMenuGUI\renderSolutionOutput(), assOrderingQuestionGUI\renderSolutionOutput(), assMatchingQuestionGUI\renderSolutionOutput(), assKprimChoiceGUI\renderSolutionOutput(), and assClozeTestGUI\renderSolutionOutput().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::linkChilds | ( | ) |
Definition at line 1550 of file class.assQuestionGUI.php.
References createSuggestedSolutionLinkingTo(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), outChapterSelector(), outGlossarySelector(), and outPageSelector().
Here is the call graph for this function:| assQuestionGUI::magicAfterTestOutput | ( | ) |
Definition at line 1835 of file class.assQuestionGUI.php.
References getTestOutput().
Referenced by outQuestionForTest().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::originalSyncForm | ( | string | $return_to = "", |
| string | $return_to_feedback = '' |
||
| ) |
Definition at line 616 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by suggestedsolution().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::outAdditionalOutput | ( | ) |
Why are you here? Some magic for plugins?
Definition at line 895 of file class.assQuestionGUI.php.
Referenced by assTextQuestionGUI\magicAfterTestOutput().
Here is the caller graph for this function:| assQuestionGUI::outChapterSelector | ( | ) |
Definition at line 1481 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), ilObjectGUI\getObject(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ilUtil\stripSlashes().
Referenced by linkChilds().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::outGlossarySelector | ( | ) |
Definition at line 1511 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), ilObjGlossary\getTermList(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by linkChilds().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::outPageSelector | ( | ) |
Definition at line 1427 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), ilTree\getChildsByType(), getContextPath(), ilTree\getNodeData(), ilObjectGUI\getObject(), ilLMPageObject\getPageList(), ilTree\getRootId(), ilTree\isInTree(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilLegacyFormElementsUtil\prepareFormOutput(), and ilUtil\stripSlashes().
Referenced by linkChilds().
Here is the call graph for this function:
Here is the caller graph for this function:
|
final |
Definition at line 1802 of file class.assQuestionGUI.php.
References completeTestOutputFormAction(), getFormEncodingType(), getTestOutput(), and magicAfterTestOutput().
Referenced by ilTestPlayerAbstractGUI\showQuestionEditable().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::outQuestionPage | ( | $a_temp_var, | |
$a_postponed = false, |
|||
$active_id = "", |
|||
$html = "", |
|||
$inlineFeedbackEnabled = false |
|||
| ) |
Definition at line 548 of file class.assQuestionGUI.php.
References getNavigationGUI(), getPreviousSolutionConfirmationCheckboxHtml(), getPreviousSolutionProvidedMessage(), getUseUnchangedAnswerCheckboxHtml(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ilPageObjectGUI\setOutputMode().
Referenced by assNumericGUI\getTestOutput(), assOrderingHorizontalGUI\getTestOutput(), assTextSubsetGUI\getTestOutput(), assFileUploadGUI\getTestOutput(), assKprimChoiceGUI\getTestOutput(), assErrorTextGUI\getTestOutput(), assLongMenuGUI\getTestOutput(), assSingleChoiceGUI\getTestOutput(), assTextQuestionGUI\getTestOutput(), assMultipleChoiceGUI\getTestOutput(), assOrderingQuestionGUI\getTestOutput(), assImagemapQuestionGUI\getTestOutput(), assMatchingQuestionGUI\getTestOutput(), assFormulaQuestionGUI\getTestOutput(), assClozeTestGUI\getTestOutput(), ilTestPlayerAbstractGUI\populateInstantResponseModal(), and ilTestPlayerAbstractGUI\showQuestionViewable().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::outQuestionType | ( | ) |
Definition at line 1136 of file class.assQuestionGUI.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by buildBasicEditFormObject(), assOrderingQuestionGUI\buildEditForm(), assMultipleChoiceGUI\buildEditForm(), assOrderingQuestionGUI\buildNestingForm(), assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assTextSubsetGUI\editQuestion(), assNumericGUI\editQuestion(), assFileUploadGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), assFormulaQuestionGUI\isSaveCommand(), and ilTestCorrectionsGUI\populatePageTitleAndDescription().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::outSolutionExplorer | ( | ) |
Definition at line 1357 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilExplorer\setExpand().
Here is the call graph for this function:| assQuestionGUI::populateCorrectionsFormProperties | ( | ilPropertyFormGUI | $form | ) |
Definition at line 1936 of file class.assQuestionGUI.php.
Referenced by ilTestCorrectionsGUI\buildQuestionCorrectionForm().
Here is the caller graph for this function:| assQuestionGUI::populateJavascriptFilesRequiredForWorkForm | ( | ilGlobalTemplateInterface | $tpl | ) |
Definition at line 500 of file class.assQuestionGUI.php.
References ilGlobalTemplateInterface\addJavaScript(), and getPresentationJavascripts().
Here is the call graph for this function:
|
protected |
Definition at line 1043 of file class.assQuestionGUI.php.
References ilObject\_lookupType(), ilPropertyFormGUI\addItem(), ilTaxNodeAssignment\getAssignmentsOfItem(), getTaxonomyIds(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ilFormPropertyGUI\setTitle().
Referenced by assKprimChoiceGUI\buildEditForm(), assImagemapQuestionGUI\buildEditForm(), assLongMenuGUI\buildEditForm(), assOrderingQuestionGUI\buildEditForm(), assMultipleChoiceGUI\buildEditForm(), assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assTextSubsetGUI\editQuestion(), assNumericGUI\editQuestion(), assFileUploadGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), and assFormulaQuestionGUI\isSaveCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::prepareReprintableCorrectionsForm | ( | ilPropertyFormGUI | $form | ) |
Definition at line 1932 of file class.assQuestionGUI.php.
|
static |
Prepares a string for a text area output where latex code may be in it If the text is HTML-free, CHR(13) will be converted to a line break.
| string | $txt_output | String which should be prepared for output public |
Definition at line 1979 of file class.assQuestionGUI.php.
References ilMathJax\getInstance().
Here is the call graph for this function:| assQuestionGUI::redrawHeaderAction | ( | ) |
Definition at line 176 of file class.assQuestionGUI.php.
References exit, getHeaderAction(), and ILIAS\Repository\ui().
Here is the call graph for this function:
|
protected |
Definition at line 528 of file class.assQuestionGUI.php.
References ilPropertyFormGUI\getHTML(), and getQuestionTemplate().
Referenced by assOrderingQuestionGUI\buildEditFormAfterTypeChange(), assOrderingQuestionGUI\editNesting(), assOrderingQuestionGUI\editQuestion(), and assOrderingQuestionGUI\writePostData().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::renderPurposeSupportsFormHtml | ( | ) |
Definition at line 331 of file class.assQuestionGUI.php.
References isRenderPurposeInputValue(), and isRenderPurposePrintPdf().
Referenced by assTextQuestionGUI\getAutoSavedSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assTextQuestionGUI\renderSolutionOutput(), assMultipleChoiceGUI\renderSolutionOutput(), assSingleChoiceGUI\renderSolutionOutput(), and assKprimChoiceGUI\renderSolutionOutput().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::renderSolutionOutput | ( | mixed | $user_solutions, |
| int | $active_id, | ||
| int | $pass, | ||
| bool | $graphical_output = false, |
||
| bool | $result_output = false, |
||
| bool | $show_question_only = true, |
||
| bool | $show_feedback = false, |
||
| bool | $show_correct_solution = false, |
||
| bool | $show_manual_scoring = false, |
||
| bool | $show_question_text = true, |
||
| bool | $show_autosave_title = false, |
||
| bool | $show_inline_feedback = false |
||
| ) |
Definition at line 1750 of file class.assQuestionGUI.php.
Referenced by getAutoSavedSolutionOutput(), and assImagemapQuestionGUI\getSolutionOutput().
Here is the caller graph for this function:| assQuestionGUI::save | ( | ) |
Definition at line 718 of file class.assQuestionGUI.php.
References callNewIdListeners(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), saveQuestionToTest(), and writePostData().
Here is the call graph for this function:| assQuestionGUI::saveCorrectionsFormProperties | ( | ilPropertyFormGUI | $form | ) |
Definition at line 1940 of file class.assQuestionGUI.php.
| assQuestionGUI::saveEdit | ( | ) |
Definition at line 674 of file class.assQuestionGUI.php.
References $_GET, $ilUser, assQuestion\_isWriteable(), ILIAS\Repository\ctrl(), ilObject\getId(), ilObjTest\getQuestionSetConfig(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), ILIAS\Repository\object(), ilUtil\redirect(), ilObjUser\setPref(), writePostData(), and ilObjUser\writePref().
Here is the call graph for this function:
|
private |
Definition at line 786 of file class.assQuestionGUI.php.
References assQuestion\_isWriteable(), assQuestion\_questionExistsInTest(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), and ILIAS\Repository\object().
Referenced by save(), and saveReturn().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::saveReturn | ( | ) |
Definition at line 757 of file class.assQuestionGUI.php.
References callNewIdListeners(), ilAssQuestionPreviewGUI\CMD_SHOW, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), saveQuestionToTest(), and writePostData().
Here is the call graph for this function:| assQuestionGUI::saveSuggestedSolutionType | ( | ) |
Definition at line 1389 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), and suggestedsolution().
Here is the call graph for this function:
|
protected |
Definition at line 1030 of file class.assQuestionGUI.php.
References getTaxonomyIds(), and ILIAS\Repository\object().
Referenced by assErrorTextGUI\analyze(), assTextQuestionGUI\writePostData(), assErrorTextGUI\writePostData(), assMatchingQuestionGUI\writePostData(), assTextSubsetGUI\writePostData(), assLongMenuGUI\writePostData(), assOrderingHorizontalGUI\writePostData(), assSingleChoiceGUI\writePostData(), assNumericGUI\writePostData(), assFileUploadGUI\writePostData(), assMultipleChoiceGUI\writePostData(), assFormulaQuestionGUI\writePostData(), assImagemapQuestionGUI\writePostData(), assKprimChoiceGUI\writePostData(), assClozeTestGUI\writePostData(), assOrderingQuestionGUI\writePostData(), and assLongMenuGUI\writeQuestionSpecificPostData().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::setAdjustmentEditContext | ( | ) |
Definition at line 364 of file class.assQuestionGUI.php.
References setEditContext().
Here is the call graph for this function:
|
protected |
Definition at line 1631 of file class.assQuestionGUI.php.
References addBackTab(), addTab_Question(), addTab_QuestionFeedback(), addTab_QuestionHints(), addTab_SuggestedSolution(), and ILIAS\Repository\ctrl().
Referenced by setQuestionTabs().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::setEditContext | ( | string | $editContext | ) |
Definition at line 349 of file class.assQuestionGUI.php.
References $editContext.
Referenced by setAdjustmentEditContext().
Here is the caller graph for this function:| assQuestionGUI::setErrorMessage | ( | string | $errormessage | ) |
Definition at line 884 of file class.assQuestionGUI.php.
References $errormessage.
Referenced by assErrorTextGUI\__construct(), assOrderingHorizontalGUI\__construct(), assMatchingQuestionGUI\__construct(), and assFileUploadGUI\__construct().
Here is the caller graph for this function:| assQuestionGUI::setInLearningModuleContext | ( | bool | $flag | ) |
Definition at line 2072 of file class.assQuestionGUI.php.
| assQuestionGUI::setNavigationGUI | ( | ?ilTestQuestionNavigationGUI | $navigationGUI | ) |
Definition at line 374 of file class.assQuestionGUI.php.
References $navigationGUI.
Referenced by ilTestPlayerAbstractGUI\populateInstantResponseModal(), ilTestPlayerAbstractGUI\showQuestionEditable(), and ilTestPlayerAbstractGUI\showQuestionViewable().
Here is the caller graph for this function:| assQuestionGUI::setPresentationContext | ( | string | $presentationContext | ) |
Definition at line 274 of file class.assQuestionGUI.php.
References $presentationContext.
| assQuestionGUI::setPreviewSession | ( | ilAssQuestionPreviewSession | $previewSession | ) |
| assQuestionGUI::setPreviousSolutionPrefilled | ( | bool | $previousSolutionPrefilled | ) |
Definition at line 290 of file class.assQuestionGUI.php.
References $previousSolutionPrefilled.
| assQuestionGUI::setQuestionActionCmd | ( | string | $questionActionCmd | ) |
| assQuestionGUI::setQuestionCount | ( | int | $a_question_count | ) |
Definition at line 869 of file class.assQuestionGUI.php.
| assQuestionGUI::setQuestionHeaderBlockBuilder | ( | \ilQuestionHeaderBlockBuilder | $questionHeaderBlockBuilder | ) |
Definition at line 404 of file class.assQuestionGUI.php.
References $questionHeaderBlockBuilder.
|
protected |
Definition at line 1658 of file class.assQuestionGUI.php.
Referenced by setQuestionTabs().
Here is the caller graph for this function:| assQuestionGUI::setQuestionTabs | ( | ) |
Definition at line 1622 of file class.assQuestionGUI.php.
References addBackTab(), setDefaultTabs(), and setQuestionSpecificTabs().
Here is the call graph for this function:| assQuestionGUI::setRenderPurpose | ( | string | $renderPurpose | ) |
| assQuestionGUI::setSequenceNumber | ( | int | $nr | ) |
Definition at line 859 of file class.assQuestionGUI.php.
| assQuestionGUI::setTargetGui | ( | $linkTargetGui | ) |
Definition at line 389 of file class.assQuestionGUI.php.
References setTargetGuiClass().
Here is the call graph for this function:| assQuestionGUI::setTargetGuiClass | ( | $targetGuiClass | ) |
Definition at line 394 of file class.assQuestionGUI.php.
References $targetGuiClass.
Referenced by setTargetGui().
Here is the caller graph for this function:| assQuestionGUI::setTaxonomyIds | ( | array | $taxonomyIds | ) |
| assQuestionGUI::showHints | ( | ) |
Definition at line 1887 of file class.assQuestionGUI.php.
References ilAssQuestionHintsGUI\CMD_SHOW_LIST, and ILIAS\Repository\ctrl().
Here is the call graph for this function:| assQuestionGUI::suggestedsolution | ( | ) |
Definition at line 1157 of file class.assQuestionGUI.php.
References $access, $ilUser, $res, assQuestion\_getInternalLinkHref(), assQuestion\_isWriteable(), ilRadioGroupInputGUI\addOption(), ILIAS\Repository\ctrl(), ilObject\getId(), getSuggestedSolutionsRepo(), getTypeOptions(), ILIAS\Repository\lng(), ilFileUtils\makeDirParents(), ilFileUtils\moveUploadedFile(), ILIAS\Repository\object(), originalSyncForm(), ilLegacyFormElementsUtil\prepareFormOutput(), ilFileUtils\renameExecutables(), ilCustomInputGUI\setHtml(), and ilFormPropertyGUI\setRequired().
Referenced by executeCommand(), and saveSuggestedSolutionType().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::sync | ( | ) |
Definition at line 637 of file class.assQuestionGUI.php.
References ilAssQuestionPreviewGUI\CMD_SHOW, ILIAS\Repository\ctrl(), ilTestExpressPage\getReturnToPageLink(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Here is the call graph for this function:
|
protected |
Evaluates a posted edit form and writes the form data in the question object.
Definition at line 434 of file class.assQuestionGUI.php.
Referenced by apply(), save(), saveEdit(), and saveReturn().
Here is the caller graph for this function:
|
protected |
Definition at line 1781 of file class.assQuestionGUI.php.
References Vendor\Package\$e, $lifecycle, ilAssQuestionLifecycle\getInstance(), getPreview(), ILIAS\Repository\object(), and ilUtil\stripOnlySlashes().
Referenced by assOrderingQuestionGUI\uploadElementImage(), assErrorTextGUI\writePostData(), assTextQuestionGUI\writePostData(), assMatchingQuestionGUI\writePostData(), assTextSubsetGUI\writePostData(), assOrderingHorizontalGUI\writePostData(), assLongMenuGUI\writePostData(), assSingleChoiceGUI\writePostData(), assNumericGUI\writePostData(), assMultipleChoiceGUI\writePostData(), assFileUploadGUI\writePostData(), assImagemapQuestionGUI\writePostData(), assKprimChoiceGUI\writePostData(), assClozeTestGUI\writePostData(), and assOrderingQuestionGUI\writePostData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 65 of file class.assQuestionGUI.php.
Referenced by suggestedsolution().
|
private |
Definition at line 73 of file class.assQuestionGUI.php.
|
protected |
Definition at line 78 of file class.assQuestionGUI.php.
|
private |
Definition at line 71 of file class.assQuestionGUI.php.
|
private |
Definition at line 125 of file class.assQuestionGUI.php.
Referenced by getEditContext(), and setEditContext().
|
protected |
Definition at line 129 of file class.assQuestionGUI.php.
Referenced by buildEditForm().
| assQuestionGUI::$error |
Definition at line 90 of file class.assQuestionGUI.php.
| string assQuestionGUI::$errormessage |
Definition at line 91 of file class.assQuestionGUI.php.
Referenced by addErrorMessage(), getErrorMessage(), and setErrorMessage().
|
private |
Definition at line 64 of file class.assQuestionGUI.php.
|
private |
Definition at line 63 of file class.assQuestionGUI.php.
|
private |
Definition at line 67 of file class.assQuestionGUI.php.
|
private |
Definition at line 66 of file class.assQuestionGUI.php.
Referenced by assFormulaQuestionGUI\resetSavedPreviewSession(), saveEdit(), and suggestedsolution().
| ilLanguage assQuestionGUI::$lng |
Definition at line 87 of file class.assQuestionGUI.php.
|
protected |
Definition at line 72 of file class.assQuestionGUI.php.
|
private |
Definition at line 107 of file class.assQuestionGUI.php.
Referenced by getNavigationGUI(), and setNavigationGUI().
|
private |
Definition at line 80 of file class.assQuestionGUI.php.
Referenced by addNewIdListener(), and callNewIdListeners().
|
private |
Definition at line 79 of file class.assQuestionGUI.php.
|
protected |
Definition at line 76 of file class.assQuestionGUI.php.
| assQuestion assQuestionGUI::$object |
Definition at line 85 of file class.assQuestionGUI.php.
Referenced by assFormulaQuestionGUI\isSaveCommand().
|
protected |
Definition at line 131 of file class.assQuestionGUI.php.
Referenced by isInLearningModuleContext().
|
private |
Definition at line 112 of file class.assQuestionGUI.php.
Referenced by getPresentationContext(), and setPresentationContext().
|
private |
Definition at line 83 of file class.assQuestionGUI.php.
Referenced by getPreviewSession(), and setPreviewSession().
|
private |
Definition at line 127 of file class.assQuestionGUI.php.
Referenced by isPreviousSolutionPrefilled(), and setPreviousSolutionPrefilled().
| int assQuestionGUI::$question_count |
question count in test
Definition at line 97 of file class.assQuestionGUI.php.
Referenced by getQuestionCount().
|
private |
Definition at line 103 of file class.assQuestionGUI.php.
Referenced by getQuestionActionCmd(), and setQuestionActionCmd().
|
private |
Definition at line 105 of file class.assQuestionGUI.php.
Referenced by getQuestionHeaderBlockBuilder(), and setQuestionHeaderBlockBuilder().
|
protected |
Definition at line 74 of file class.assQuestionGUI.php.
|
private |
Definition at line 68 of file class.assQuestionGUI.php.
|
protected |
Definition at line 88 of file class.assQuestionGUI.php.
|
private |
Definition at line 120 of file class.assQuestionGUI.php.
Referenced by getRenderPurpose(), and setRenderPurpose().
|
protected |
Definition at line 130 of file class.assQuestionGUI.php.
| int assQuestionGUI::$sequence_no |
sequence number in test
Definition at line 94 of file class.assQuestionGUI.php.
Referenced by getSequenceNumber().
|
protected |
Definition at line 2033 of file class.assQuestionGUI.php.
Referenced by getSuggestedSolutionsRepo().
|
private |
Definition at line 101 of file class.assQuestionGUI.php.
Referenced by getTargetGuiClass(), and setTargetGuiClass().
|
private |
Definition at line 99 of file class.assQuestionGUI.php.
Referenced by getTaxonomyIds(), and setTaxonomyIds().
| ilGlobalPageTemplate assQuestionGUI::$tpl |
Definition at line 86 of file class.assQuestionGUI.php.
Referenced by assLongMenuGUI\getAggregatedAnswersView(), assTextQuestionGUI\getBestAnswer(), assTextQuestionGUI\getJsCode(), assImagemapQuestionGUI\getPreviousSolutionConfirmationCheckboxHtml(), assLongMenuGUI\getSelectGapTemplate(), assLongMenuGUI\getTextGapTemplate(), assMultipleChoiceGUI\getUseUnchangedAnswerCheckboxHtml(), assLongMenuGUI\populateQuestionSpecificFormPart(), assClozeTestGUI\populateQuestionSpecificFormPart(), assNumericGUI\renderAggregateView(), assOrderingHorizontalGUI\renderAggregateView(), assTextSubsetGUI\renderAggregateView(), assOrderingQuestionGUI\renderAggregateView(), assImagemapQuestionGUI\renderAggregateView(), assSingleChoiceGUI\renderAggregateView(), assKprimChoiceGUI\renderAggregateView(), and assMultipleChoiceGUI\renderAggregateView().
|
private |
Definition at line 70 of file class.assQuestionGUI.php.
|
private |
Definition at line 62 of file class.assQuestionGUI.php.
| const assQuestionGUI::ALLOWED_PLAIN_TEXT_TAGS = "<em>, <strong>" |
sk - 12.05.2023: This const is also used in ilKprimChoiceWizardInputGUI.
Don't ask, but I didn't find an easy fix without undoing two more question types.
Definition at line 56 of file class.assQuestionGUI.php.
Referenced by ilKprimChoiceWizardInputGUI\cleanupAnswerText().
| const assQuestionGUI::CORRECTNESS_MOSTLY_OK = 1 |
Definition at line 46 of file class.assQuestionGUI.php.
| const assQuestionGUI::CORRECTNESS_NOT_OK = 0 |
Definition at line 45 of file class.assQuestionGUI.php.
| const assQuestionGUI::CORRECTNESS_OK = 2 |
Definition at line 47 of file class.assQuestionGUI.php.
| const assQuestionGUI::EDIT_CONTEXT_ADJUSTMENT = 'adjustment' |
Definition at line 123 of file class.assQuestionGUI.php.
| const assQuestionGUI::EDIT_CONTEXT_AUTHORING = 'authoring' |
Definition at line 122 of file class.assQuestionGUI.php.
Referenced by ilObjTestGUI\executeCommand(), and ilObjQuestionPoolGUI\getQueryParamInt().
| const assQuestionGUI::FORM_ENCODING_MULTIPART = 'multipart/form-data' |
Definition at line 39 of file class.assQuestionGUI.php.
| const assQuestionGUI::FORM_ENCODING_URLENCODE = 'application/x-www-form-urlencoded' |
Definition at line 38 of file class.assQuestionGUI.php.
| const assQuestionGUI::FORM_MODE_ADJUST = 'adjust' |
Definition at line 36 of file class.assQuestionGUI.php.
| const assQuestionGUI::FORM_MODE_EDIT = 'edit' |
Definition at line 35 of file class.assQuestionGUI.php.
|
protected |
Definition at line 49 of file class.assQuestionGUI.php.
| const assQuestionGUI::PRESENTATION_CONTEXT_RESULTS = 'pContextResults' |
Definition at line 110 of file class.assQuestionGUI.php.
| const assQuestionGUI::PRESENTATION_CONTEXT_TEST = 'pContextTest' |
Definition at line 109 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\getQuestionGuiInstance(), and ilObjTestGUI\printObject().
| const assQuestionGUI::RENDER_PURPOSE_DEMOPLAY = 'renderPurposeDemoplay' |
Definition at line 115 of file class.assQuestionGUI.php.
Referenced by ilAssQuestionPreviewGUI\initQuestion().
| const assQuestionGUI::RENDER_PURPOSE_INPUT_VALUE = 'renderPurposeInputValue' |
Definition at line 118 of file class.assQuestionGUI.php.
| const assQuestionGUI::RENDER_PURPOSE_PLAYBACK = 'renderPurposePlayback' |
Definition at line 114 of file class.assQuestionGUI.php.
| const assQuestionGUI::RENDER_PURPOSE_PREVIEW = 'renderPurposePreview' |
Definition at line 116 of file class.assQuestionGUI.php.
Referenced by ilObjTestGUI\executeCommand(), ilQuestionPoolPrintViewTableGUI\fillRow(), ilAssQuestionPageCommandForwarder\forward(), ilObjQuestionPoolGUI\getQueryParamInt(), and ilObjTestGUI\reviewobject().
| const assQuestionGUI::RENDER_PURPOSE_PRINT_PDF = 'renderPurposePrintPdf' |
Definition at line 117 of file class.assQuestionGUI.php.
Referenced by ilTestServiceGUI\getQuestionResultForTestUsers().
|
private |
Definition at line 59 of file class.assQuestionGUI.php.
|
private |
Definition at line 58 of file class.assQuestionGUI.php.
| const assQuestionGUI::SESSION_PREVIEW_DATA_BASE_INDEX = 'ilAssQuestionPreviewAnswers' |
Definition at line 61 of file class.assQuestionGUI.php.
|
protected |
Definition at line 41 of file class.assQuestionGUI.php.
|
protected |
Definition at line 43 of file class.assQuestionGUI.php.
|
protected |
Definition at line 42 of file class.assQuestionGUI.php.