|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Inheritance diagram for assQuestionGUI:
Collaboration diagram for assQuestionGUI:Public Member Functions | |
| editQuestion (bool $checkonly=false, ?bool $is_save_cmd=null) | |
| getSpecificFeedbackOutput (array $userSolution) | |
| Returns the answer specific feedback for the question. More... | |
| getSolutionOutput (int $active_id, ?int $pass=null, 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_inline_feedback=true) | |
| getPreview (bool $show_question_only=false, bool $show_inline_feedback=false) | |
| getTestOutput (int $active_id, int $pass, bool $is_question_postponed=false, array|bool $user_post_solutions=false, bool $show_specific_inline_feedback=false) | |
| 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,) | |
| getObject () | |
| setObject (assQuestion $question) | |
| setCopyToExistingPoolOnSave (?int $pool_ref_id) | |
| getCopyToExistingPoolOnSave () | |
| setCopyToNewPoolOnSave (?string $pool_title) | |
| getCopyToNewPoolOnSave () | |
| setMoveAfterQuestionId (?int $question_id) | |
| getMoveAfterQuestionId () | |
| hasInlineFeedback () | |
| addHeaderAction () | |
| redrawHeaderAction () | |
| getHeaderAction () | |
| getCommentsPanelHTML () | |
| 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 (string $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) | |
| syncQuestion () | |
| saveReturn () | |
| saveQuestion () | |
| setAdditionalContentEditingModeFromPost () | |
| 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) | |
| getQuestionType () | |
| getAsValueAttribute (string $a_value) | |
| addQuestionFormCommandButtons (ilPropertyFormGUI $form) | |
| addBasicQuestionFormProperties (ilPropertyFormGUI $form) | |
| getGenericFeedbackOutput (int $active_id, ?int $pass) | |
| getGenericFeedbackOutputForCorrectSolution () | |
| getGenericFeedbackOutputForIncorrectSolution () | |
| outQuestionType () | |
| saveSuggestedSolution () | |
| cancelSuggestedSolution () | |
| suggestedsolution (bool $save=false) | |
| outSolutionExplorer () | |
| saveSuggestedSolutionType () | |
| cancelExplorer () | |
| outPageSelector () | |
| outChapterSelector () | |
| outGlossarySelector () | |
| linkChilds () | |
| addPG () | |
| addST () | |
| addGIT () | |
| isSaveCommand () | |
| setQuestionTabs () | |
| addTab_SuggestedSolution (ilTabsGUI $tabs, string $classname) | |
| getEditQuestionTabCommands () | |
| isAutosaveable () | |
| outQuestionForTest (string $formaction, int $active_id, ?int $pass, bool $is_question_postponed=false, array|bool $user_post_solutions=false, bool $show_specific_inline_feedback=false) | |
| magicAfterTestOutput () | |
| getFormEncodingType () | |
| setPreviewSession (ilAssQuestionPreviewSession $preview_session) | |
| getPreviewSession () | |
| buildFocusAnchorHtml () | |
| isAnswerFrequencyStatisticSupported () | |
| getSubQuestionsIndex () | |
| getAnswersFrequency ($relevantAnswers, $questionIndex) | |
| getAnswerFrequencyTableGUI ($parentGui, $parentCmd, $relevantAnswers, $questionIndex) | |
| prepareReprintableCorrectionsForm (ilPropertyFormGUI $form) | |
| populateCorrectionsFormProperties (ilPropertyFormGUI $form) | |
| saveCorrectionsFormProperties (ilPropertyFormGUI $form) | |
| isInLearningModuleContext () | |
| setInLearningModuleContext (bool $flag) | |
| cmdNeedsExistingQuestion (string $cmd) | |
| setContextAllowsSyncToPool (bool $sync_allowed) | |
| needsSyncQuery () | |
| getQuestionSyncModal (string $cmd, string $cmd_class='') | |
| 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) | |
| buildFileDownloadLink () | |
| supportsAdjustment () | |
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 | 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 | 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' |
| 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 | 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' |
| const | PRESENTATION_CONTEXT_TEST = 'pContextTest' |
| const | PRESENTATION_CONTEXT_RESULTS = 'pContextResults' |
| const | CMD_SYNC_QUESTION_AND_RETURN = 'syncQuestionReturn' |
Protected Attributes | |
| const | HAS_SPECIAL_QUESTION_COMMANDS = false |
| const | SUGGESTED_SOLUTION_COMMANDS_CANCEL = 'cancelSuggestedSolution' |
| const | SUGGESTED_SOLUTION_COMMANDS_SAVE = 'saveSuggestedSolution' |
| const | SUGGESTED_SOLUTION_COMMANDS_DEFAULT = 'suggestedsolution' |
| const | QUESTION_SAVE_CMDS |
| const | ADDITIONAL_CMDS_NEEDING_EXISTING_QST |
| There are functions that need an existing question. More... | |
| UIServices | $ui |
| ilLogger | $logger |
| GeneralQuestionPropertiesRepository | $questionrepository |
| GUIService | $notes_gui |
| ilCtrl | $ctrl |
| assQuestion | $object |
| ilGlobalPageTemplate | $tpl |
| ilLanguage | $lng |
| Refinery | $refinery |
| $error | |
| string | $errormessage |
| int | $sequence_no |
| sequence number in test More... | |
| int | $question_count |
| question count in test More... | |
| ilPropertyFormGUI | $editForm = null |
| readonly ilTestLegacyFormsHelper | $forms_helper |
| readonly RequestDataCollector | $request_data_collector |
| bool | $parent_type_is_lm = false |
| SuggestedSolutionsDatabaseRepository | $suggestedsolution_repo = null |
Private Member Functions | |
| getQuestionTypeTranslation () | |
Definition at line 36 of file class.assQuestionGUI.php.
|
static |
Creates a question gui representation and returns the alias to the question gui.
Definition at line 575 of file class.assQuestionGUI.php.
References $DIC, $ilDB, $lng, and assQuestion\getFeedbackClassNameByQuestionType().
Referenced by ilObjQuestionPoolGUI\addLocatorItems(), ilPCQuestionGUI\edit(), ilPageObjectGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilQuestionEditGUI\executeCommand(), ilQuestionExporter\exportQuestion(), ilAssQuestionPageCommandForwarder\forward(), ilObjTestGUI\forwardCommandToQuestion(), ilPCQuestion\getJavascriptFiles(), ilPCQuestion\modifyPageContentPostXsl(), and ilObjQuestionPoolGUI\setTitleAndDescription().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1732 of file class.assQuestionGUI.php.
References ilObject\_lookupType(), ilAssQuestionPreviewGUI\CMD_SHOW, ILIAS\Repository\ctrl(), ilObjectFactory\getClassByType(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ilTabsGUI\setBackTarget().
Here is the call graph for this function:| assQuestionGUI::addBasicQuestionFormProperties | ( | ilPropertyFormGUI | $form | ) |
Reimplemented in assMultipleChoiceGUI.
Definition at line 858 of file class.assQuestionGUI.php.
References $lifecycle, ilRTESettings\_getUsedHTMLTags(), ilPropertyFormGUI\addItem(), assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_IPE, ilAssSelfAssessmentQuestionFormatter\getSelfAssessmentTags(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ilLegacyFormElementsUtil\prepareFormOutput().
Referenced by assImagemapQuestionGUI\buildEditForm().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::addErrorMessage | ( | string | $errormessage | ) |
Definition at line 831 of file class.assQuestionGUI.php.
Referenced by assFormulaQuestionGUI\writePostData().
Here is the caller graph for this function:| assQuestionGUI::addGIT | ( | ) |
Definition at line 1524 of file class.assQuestionGUI.php.
References ILIAS\Scripts\PHPStan\$target, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| assQuestionGUI::addHeaderAction | ( | ) |
Definition at line 301 of file class.assQuestionGUI.php.
|
protected |
Definition at line 946 of file class.assQuestionGUI.php.
References ilPropertyFormGUI\addItem(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Here is the call graph for this function:| assQuestionGUI::addPG | ( | ) |
Definition at line 1508 of file class.assQuestionGUI.php.
References ILIAS\Scripts\PHPStan\$target, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| assQuestionGUI::addQuestionFormCommandButtons | ( | ilPropertyFormGUI | $form | ) |
Definition at line 850 of file class.assQuestionGUI.php.
References ilPropertyFormGUI\addCommandButton(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by assImagemapQuestionGUI\buildEditForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1973 of file class.assQuestionGUI.php.
| assQuestionGUI::addST | ( | ) |
Definition at line 1516 of file class.assQuestionGUI.php.
References ILIAS\Scripts\PHPStan\$target, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 1632 of file class.assQuestionGUI.php.
References ilTabsGUI\addTarget(), and ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
protected |
Definition at line 1618 of file class.assQuestionGUI.php.
References ilTabsGUI\addTab(), ilAssQuestionFeedbackEditingGUI\CMD_SHOW, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Here is the call graph for this function:| assQuestionGUI::addTab_SuggestedSolution | ( | ilTabsGUI | $tabs, |
| string | $classname | ||
| ) |
Definition at line 1584 of file class.assQuestionGUI.php.
References ilTabsGUI\addTarget(), ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
Here is the call graph for this function:| assQuestionGUI::assessment | ( | ) |
Definition at line 561 of file class.assQuestionGUI.php.
|
protected |
Definition at line 1774 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl().
Referenced by assImagemapQuestionGUI\buildEditForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Reimplemented in assImagemapQuestionGUI, assKprimChoiceGUI, assLongMenuGUI, and assOrderingQuestionGUI.
Definition at line 1790 of file class.assQuestionGUI.php.
Referenced by assMultipleChoiceGUI\writePostData().
Here is the caller graph for this function:| assQuestionGUI::buildFileDownloadLink | ( | ) |
Definition at line 2062 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl().
Referenced by ilAssQuestionSkillAssignmentsGUI\buildQuestionPage().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::buildFocusAnchorHtml | ( | ) |
Definition at line 1796 of file class.assQuestionGUI.php.
| assQuestionGUI::cancelExplorer | ( | ) |
Definition at line 1357 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| assQuestionGUI::cancelSuggestedSolution | ( | ) |
Definition at line 1100 of file class.assQuestionGUI.php.
|
protected |
sk - 12.05.2023: This is one more of those that we need, but don't want.
Definition at line 1943 of file class.assQuestionGUI.php.
References ilRTESettings\_getUsedHTMLTagsAsString(), and ilArrayUtil\stripSlashesRecursive().
Here is the call graph for this function:| assQuestionGUI::cmdNeedsExistingQuestion | ( | string | $cmd | ) |
Definition at line 1993 of file class.assQuestionGUI.php.
|
protected |
Reimplemented in assImagemapQuestionGUI.
Definition at line 1714 of file class.assQuestionGUI.php.
|
protected |
Definition at line 1472 of file class.assQuestionGUI.php.
References ILIAS\Scripts\PHPStan\$target.
|
abstract |
Reimplemented in assClozeTestGUI, assErrorTextGUI, assFileUploadGUI, assImagemapQuestionGUI, assKprimChoiceGUI, assLongMenuGUI, assMatchingQuestionGUI, assMultipleChoiceGUI, assNumericGUI, assOrderingHorizontalGUI, assOrderingQuestionGUI, assSingleChoiceGUI, assTextQuestionGUI, and assTextSubsetGUI.
Referenced by ilObjTestGUI\showNextViewAfterQuestionSave(), assFormulaQuestionGUI\suggestRange(), and assFormulaQuestionGUI\writePostData().
Here is the caller graph for this function:
|
protected |
Definition at line 1785 of file class.assQuestionGUI.php.
References $text.
| assQuestionGUI::executeCommand | ( | ) |
Definition at line 337 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
Definition at line 1838 of file class.assQuestionGUI.php.
References ilUtil\getImagePath(), ILIAS\Repository\lng(), and ILIAS\Repository\ui().
Here is the call graph for this function:
|
protected |
Definition at line 1024 of file class.assQuestionGUI.php.
|
protected |
Reimplemented in assKprimChoiceGUI.
Definition at line 1613 of file class.assQuestionGUI.php.
| assQuestionGUI::getAnswerFrequencyTableGUI | ( | $parentGui, | |
| $parentCmd, | |||
| $relevantAnswers, | |||
| $questionIndex | |||
| ) |
Reimplemented in assClozeTestGUI, assKprimChoiceGUI, assLongMenuGUI, and assMatchingQuestionGUI.
Definition at line 1816 of file class.assQuestionGUI.php.
| assQuestionGUI::getAnswersFrequency | ( | $relevantAnswers, | |
| $questionIndex | |||
| ) |
Reimplemented in assErrorTextGUI, assClozeTestGUI, assImagemapQuestionGUI, assKprimChoiceGUI, assLongMenuGUI, assMatchingQuestionGUI, assMultipleChoiceGUI, assNumericGUI, assOrderingHorizontalGUI, assOrderingQuestionGUI, assSingleChoiceGUI, assTextQuestionGUI, and assTextSubsetGUI.
Definition at line 1811 of file class.assQuestionGUI.php.
| assQuestionGUI::getAsValueAttribute | ( | string | $a_value | ) |
Definition at line 841 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 2029 of file class.assQuestionGUI.php.
|
protected |
Definition at line 1608 of file class.assQuestionGUI.php.
|
static |
Definition at line 1537 of file class.assQuestionGUI.php.
Referenced by ilPCQuestionGUI\setTabs().
Here is the caller graph for this function:| assQuestionGUI::getCommentsPanelHTML | ( | ) |
Definition at line 331 of file class.assQuestionGUI.php.
References ILIAS\Repository\object().
Here is the call 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 783 of file class.assQuestionGUI.php.
| assQuestionGUI::getCopyToExistingPoolOnSave | ( | ) |
Definition at line 271 of file class.assQuestionGUI.php.
Referenced by ilObjTestGUI\executeAfterQuestionCreationTasks().
Here is the caller graph for this function:| assQuestionGUI::getCopyToNewPoolOnSave | ( | ) |
Definition at line 281 of file class.assQuestionGUI.php.
Referenced by ilObjTestGUI\executeAfterQuestionCreationTasks().
Here is the caller graph for this function:| assQuestionGUI::getEditContext | ( | ) |
Definition at line 466 of file class.assQuestionGUI.php.
|
final |
Definition at line 1603 of file class.assQuestionGUI.php.
| assQuestionGUI::getErrorMessage | ( | ) |
Definition at line 821 of file class.assQuestionGUI.php.
Referenced by assFormulaQuestionGUI\suggestRange().
Here is the caller graph for this function:| assQuestionGUI::getFormEncodingType | ( | ) |
Reimplemented in assFileUploadGUI.
Definition at line 1727 of file class.assQuestionGUI.php.
| assQuestionGUI::getGenericFeedbackOutput | ( | int | $active_id, |
| ?int | $pass | ||
| ) |
| int | null | $pass | Active pass |
Definition at line 1009 of file class.assQuestionGUI.php.
References ilObjTest\getManualFeedback(), ILIAS\Repository\object(), and ilLegacyFormElementsUtil\prepareTextareaOutput().
Referenced by ilTestPlayerAbstractGUI\populateGenericFeedbackBlock().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::getGenericFeedbackOutputForCorrectSolution | ( | ) |
Definition at line 1045 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 1053 of file class.assQuestionGUI.php.
References ILIAS\Repository\object(), and ilLegacyFormElementsUtil\prepareTextareaOutput().
Here is the call graph for this function:| assQuestionGUI::getHeaderAction | ( | ) |
Definition at line 311 of file class.assQuestionGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\object(), ilCommonActionDispatcherGUI\TYPE_REPOSITORY, and ILIAS\Repository\ui().
Here is the call graph for this function:| assQuestionGUI::getILIASPage | ( | string | $html = "" | ) |
Returns the ILIAS Page around a question.
Definition at line 634 of file class.assQuestionGUI.php.
References ILIAS\Repository\object().
Here is the call graph for this function:| assQuestionGUI::getMoveAfterQuestionId | ( | ) |
Definition at line 291 of file class.assQuestionGUI.php.
Referenced by ilObjTestGUI\executeAfterQuestionCreationTasks().
Here is the caller graph for this function:| assQuestionGUI::getNavigationGUI | ( | ) |
Definition at line 491 of file class.assQuestionGUI.php.
| assQuestionGUI::getObject | ( | ) |
Definition at line 252 of file class.assQuestionGUI.php.
Referenced by ilTestCorrectionsGUI\buildQuestionCorrectionForm(), ilAssQuestionSkillAssignmentsGUI\buildQuestionPage(), ilObjTestGUI\copyQuestionToPool(), ilTestPlayerAbstractGUI\determineSolutionPassIndex(), ilObjTestGUI\executeAfterQuestionCreationTasks(), ilObjTestGUI\executeAfterQuestionSaveTasks(), ilTestCorrectionsGUI\getQuestionGUI(), ilTestPlayerAbstractGUI\getQuestionGuiInstance(), ilAssQuestionPreviewGUI\initQuestion(), ilTestPlayerAbstractGUI\populateInstantResponseBlocks(), ilTestPlayerAbstractGUI\populateInstantResponseModal(), ilTestCorrectionsGUI\populatePageTitleAndDescription(), ilTestPlayerAbstractGUI\populateQuestionEditControl(), ilTestPlayerAbstractGUI\populateSpecificFeedbackBlock(), ilTestCorrectionsGUI\saveQuestion(), ilTestCorrectionsGUI\setCorrectionTabsContext(), ilObjTestGUI\showNextViewAfterQuestionSave(), ilTestPlayerAbstractGUI\showQuestionCmd(), and ilTestCorrectionsGUI\showSolution().
Here is the caller graph for this function:| assQuestionGUI::getPresentationContext | ( | ) |
Definition at line 391 of file class.assQuestionGUI.php.
| assQuestionGUI::getPresentationJavascripts | ( | ) |
Reimplemented in assMultipleChoiceGUI.
Definition at line 611 of file class.assQuestionGUI.php.
|
abstract |
Reimplemented in assClozeTestGUI, assErrorTextGUI, assFileUploadGUI, assFormulaQuestionGUI, assImagemapQuestionGUI, assKprimChoiceGUI, assLongMenuGUI, assMatchingQuestionGUI, assMultipleChoiceGUI, assNumericGUI, assOrderingHorizontalGUI, assOrderingQuestionGUI, assSingleChoiceGUI, assTextQuestionGUI, and assTextSubsetGUI.
| assQuestionGUI::getPreviewSession | ( | ) |
Definition at line 1769 of file class.assQuestionGUI.php.
|
protected |
Reimplemented in assFileUploadGUI, and assImagemapQuestionGUI.
Definition at line 690 of file class.assQuestionGUI.php.
References ILIAS\News\Common\Table\$tpl, ilGlobalPageTemplate\get(), ILIAS\Repository\lng(), and ILIAS\UICore\GlobalTemplate\setVariable().
Here is the call graph for this function:
|
protected |
Reimplemented in assFileUploadGUI.
Definition at line 685 of file class.assQuestionGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| assQuestionGUI::getQuestionActionCmd | ( | ) |
Definition at line 547 of file class.assQuestionGUI.php.
| assQuestionGUI::getQuestionCount | ( | ) |
Definition at line 816 of file class.assQuestionGUI.php.
| assQuestionGUI::getQuestionHeaderBlockBuilder | ( | ) |
Definition at line 532 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\populateInstantResponseModal(), and ilTestPlayerAbstractGUI\showQuestionEditable().
Here is the caller graph for this function:| assQuestionGUI::getQuestionSyncModal | ( | string | $cmd, |
| string | $cmd_class = '' |
||
| ) |
Definition at line 2009 of file class.assQuestionGUI.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\ui().
Here is the call graph for this function:| assQuestionGUI::getQuestionTemplate | ( | ) |
Definition at line 616 of file class.assQuestionGUI.php.
| assQuestionGUI::getQuestionType | ( | ) |
Definition at line 836 of file class.assQuestionGUI.php.
|
private |
Definition at line 1076 of file class.assQuestionGUI.php.
References XapiProxy\$plugin, ILIAS\Repository\lng(), and ILIAS\Repository\object().
Here is the call graph for this function:| assQuestionGUI::getRenderPurpose | ( | ) |
Definition at line 418 of file class.assQuestionGUI.php.
| assQuestionGUI::getSequenceNumber | ( | ) |
Definition at line 806 of file class.assQuestionGUI.php.
|
abstract |
Reimplemented in assClozeTestGUI, assErrorTextGUI, assFileUploadGUI, assFormulaQuestionGUI, assImagemapQuestionGUI, assKprimChoiceGUI, assLongMenuGUI, assMatchingQuestionGUI, assMultipleChoiceGUI, assNumericGUI, assOrderingHorizontalGUI, assOrderingQuestionGUI, assSingleChoiceGUI, assTextQuestionGUI, and assTextSubsetGUI.
Referenced by ILIAS\Test\Questions\Presentation\Printer\addQuestionResultForTestUsersToTemplate(), ilAssQuestionSkillAssignmentsGUI\buildQuestionPage(), ilTestPlayerAbstractGUI\populateInstantResponseBlocks(), ilTestPlayerAbstractGUI\populateInstantResponseModal(), and ilTestCorrectionsGUI\showSolution().
Here is the caller graph for this function:
|
abstract |
Returns the answer specific feedback for the question.
| array | $userSolution | ($userSolution[<value1>] = <value2>) |
Reimplemented in assClozeTestGUI, assErrorTextGUI, assSingleChoiceGUI, assTextSubsetGUI, assFileUploadGUI, assFormulaQuestionGUI, assImagemapQuestionGUI, assKprimChoiceGUI, assLongMenuGUI, assMatchingQuestionGUI, assMultipleChoiceGUI, assNumericGUI, assOrderingHorizontalGUI, assOrderingQuestionGUI, and assTextQuestionGUI.
Referenced by ilTestPlayerAbstractGUI\populateSpecificFeedbackBlock().
Here is the caller graph for this function:| assQuestionGUI::getSubQuestionsIndex | ( | ) |
Reimplemented in assClozeTestGUI, and assLongMenuGUI.
Definition at line 1806 of file class.assQuestionGUI.php.
|
protected |
Definition at line 1930 of file class.assQuestionGUI.php.
References XapiProxy\$dic.
| assQuestionGUI::getTargetGuiClass | ( | ) |
Definition at line 521 of file class.assQuestionGUI.php.
| assQuestionGUI::getTaxonomyIds | ( | ) |
Definition at line 506 of file class.assQuestionGUI.php.
|
abstract |
Reimplemented in assMatchingQuestionGUI, assClozeTestGUI, assErrorTextGUI, assFileUploadGUI, assFormulaQuestionGUI, assImagemapQuestionGUI, assKprimChoiceGUI, assLongMenuGUI, assMultipleChoiceGUI, assNumericGUI, assOrderingHorizontalGUI, assOrderingQuestionGUI, assSingleChoiceGUI, assTextQuestionGUI, and assTextSubsetGUI.
| assQuestionGUI::getType | ( | ) |
needed for page editor compliance
Definition at line 386 of file class.assQuestionGUI.php.
|
protected |
Definition at line 1087 of file class.assQuestionGUI.php.
References ILIAS\UI\Implementation\Component\Input\Field\$options, and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Reimplemented in assMultipleChoiceGUI.
Definition at line 678 of file class.assQuestionGUI.php.
References ILIAS\News\Common\Table\$tpl, ilGlobalPageTemplate\get(), ILIAS\Repository\object(), and ILIAS\UICore\GlobalTemplate\setVariable().
Here is the call graph for this function:
|
protected |
Definition at line 1647 of file class.assQuestionGUI.php.
| assQuestionGUI::hasInlineFeedback | ( | ) |
Reimplemented in assKprimChoiceGUI, assMultipleChoiceGUI, and assSingleChoiceGUI.
Definition at line 296 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\populateInstantResponseBlocks().
Here is the caller graph for this function:
|
protected |
Definition at line 380 of file class.assQuestionGUI.php.
| assQuestionGUI::isAdjustmentEditContext | ( | ) |
Definition at line 481 of file class.assQuestionGUI.php.
| assQuestionGUI::isAnswerFrequencyStatisticSupported | ( | ) |
Definition at line 1801 of file class.assQuestionGUI.php.
Referenced by ilTestCorrectionsGUI\setCorrectionTabsContext().
Here is the caller graph for this function:| assQuestionGUI::isAuthoringEditContext | ( | ) |
Definition at line 476 of file class.assQuestionGUI.php.
| assQuestionGUI::isAutosaveable | ( | ) |
Definition at line 1655 of file class.assQuestionGUI.php.
| assQuestionGUI::isInLearningModuleContext | ( | ) |
Definition at line 1964 of file class.assQuestionGUI.php.
Referenced by assOrderingQuestionGUI\populateQuestionSpecificFormPart().
Here is the caller graph for this function:| assQuestionGUI::isPreviousSolutionPrefilled | ( | ) |
Definition at line 407 of file class.assQuestionGUI.php.
| assQuestionGUI::isRenderPurposeDemoplay | ( | ) |
Definition at line 448 of file class.assQuestionGUI.php.
| assQuestionGUI::isRenderPurposeInputValue | ( | ) |
Definition at line 438 of file class.assQuestionGUI.php.
| assQuestionGUI::isRenderPurposePlayback | ( | ) |
Definition at line 443 of file class.assQuestionGUI.php.
| assQuestionGUI::isRenderPurposePreview | ( | ) |
Definition at line 433 of file class.assQuestionGUI.php.
| assQuestionGUI::isRenderPurposePrintPdf | ( | ) |
Definition at line 428 of file class.assQuestionGUI.php.
| assQuestionGUI::isSaveCommand | ( | ) |
Definition at line 1532 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl().
Referenced by assFormulaQuestionGUI\writePostData().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::isTestPresentationContext | ( | ) |
Definition at line 401 of file class.assQuestionGUI.php.
| assQuestionGUI::linkChilds | ( | ) |
Definition at line 1486 of file class.assQuestionGUI.php.
References ILIAS\Scripts\PHPStan\$target, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| assQuestionGUI::magicAfterTestOutput | ( | ) |
Reimplemented in assTextQuestionGUI.
Definition at line 1722 of file class.assQuestionGUI.php.
| assQuestionGUI::needsSyncQuery | ( | ) |
Definition at line 2003 of file class.assQuestionGUI.php.
| assQuestionGUI::outChapterSelector | ( | ) |
Definition at line 1416 of file class.assQuestionGUI.php.
References ILIAS\Scripts\PHPStan\$rows, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ilUtil\stripSlashes().
Here is the call graph for this function:| assQuestionGUI::outGlossarySelector | ( | ) |
Definition at line 1446 of file class.assQuestionGUI.php.
References ILIAS\Scripts\PHPStan\$rows, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Here is the call graph for this function:| assQuestionGUI::outPageSelector | ( | ) |
Definition at line 1362 of file class.assQuestionGUI.php.
References $page, ILIAS\Scripts\PHPStan\$rows, ILIAS\Repository\ctrl(), ilTree\getChildsByType(), ilTree\getNodeData(), ilLMPageObject\getPageList(), ilTree\getRootId(), ilTree\isInTree(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilLegacyFormElementsUtil\prepareFormOutput(), and ilUtil\stripSlashes().
Here is the call graph for this function:
|
final |
Definition at line 1688 of file class.assQuestionGUI.php.
| assQuestionGUI::outQuestionPage | ( | $a_temp_var, | |
$a_postponed = false, |
|||
$active_id = "", |
|||
$html = "", |
|||
$inlineFeedbackEnabled = false |
|||
| ) |
Definition at line 646 of file class.assQuestionGUI.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by ilTestPlayerAbstractGUI\populateInstantResponseModal().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::outQuestionType | ( | ) |
Definition at line 1063 of file class.assQuestionGUI.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by ilTestCorrectionsGUI\populatePageTitleAndDescription().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::outSolutionExplorer | ( | ) |
Definition at line 1289 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| assQuestionGUI::populateCorrectionsFormProperties | ( | ilPropertyFormGUI | $form | ) |
Reimplemented in assClozeTestGUI, assErrorTextGUI, assFileUploadGUI, assImagemapQuestionGUI, assKprimChoiceGUI, assLongMenuGUI, assMatchingQuestionGUI, assMultipleChoiceGUI, assNumericGUI, assOrderingHorizontalGUI, assOrderingQuestionGUI, assSingleChoiceGUI, assTextQuestionGUI, and assTextSubsetGUI.
Definition at line 1829 of file class.assQuestionGUI.php.
Referenced by ilTestCorrectionsGUI\buildQuestionCorrectionForm().
Here is the caller graph for this function:| assQuestionGUI::populateJavascriptFilesRequiredForWorkForm | ( | ilGlobalTemplateInterface | $tpl | ) |
Definition at line 604 of file class.assQuestionGUI.php.
References ILIAS\News\Common\Table\$tpl, and ILIAS\UICore\GlobalTemplate\addJavaScript().
Referenced by ilTestPlayerAbstractGUI\getQuestionGuiInstance().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 979 of file class.assQuestionGUI.php.
References ilObject\_lookupType(), ilPropertyFormGUI\addItem(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by assImagemapQuestionGUI\buildEditForm().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::prepareReprintableCorrectionsForm | ( | ilPropertyFormGUI | $form | ) |
Reimplemented in assOrderingQuestionGUI.
Definition at line 1825 of file class.assQuestionGUI.php.
Referenced by ilTestCorrectionsGUI\saveQuestion().
Here is the caller graph for this function:
|
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 @access public |
Definition at line 1872 of file class.assQuestionGUI.php.
| assQuestionGUI::redrawHeaderAction | ( | ) |
Definition at line 305 of file class.assQuestionGUI.php.
References exit, and ILIAS\Repository\ui().
Here is the call graph for this function:
|
protected |
Definition at line 624 of file class.assQuestionGUI.php.
References ilPropertyFormGUI\getHTML().
Referenced by assOrderingQuestionGUI\buildEditFormAfterTypeChange(), and assOrderingQuestionGUI\writePostData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Wrap content with latex in a LatexContent UI component and render it to be processed by MathJax in the browser.
Definition at line 1924 of file class.assQuestionGUI.php.
References ILIAS\Repository\ui().
Here is the call graph for this function:| assQuestionGUI::renderPurposeSupportsFormHtml | ( | ) |
Definition at line 453 of file class.assQuestionGUI.php.
| 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 |
||
| ) |
Reimplemented in assClozeTestGUI, assErrorTextGUI, assFormulaQuestionGUI, assKprimChoiceGUI, assLongMenuGUI, assMatchingQuestionGUI, assMultipleChoiceGUI, assNumericGUI, assOrderingHorizontalGUI, assOrderingQuestionGUI, assSingleChoiceGUI, assTextQuestionGUI, and assTextSubsetGUI.
Definition at line 230 of file class.assQuestionGUI.php.
|
protected |
Definition at line 2078 of file class.assQuestionGUI.php.
Referenced by assFormulaQuestionGUI\writePostData(), and assOrderingQuestionGUI\writePostData().
Here is the caller graph for this function:| assQuestionGUI::saveCorrectionsFormProperties | ( | ilPropertyFormGUI | $form | ) |
Reimplemented in assClozeTestGUI, assErrorTextGUI, assFileUploadGUI, assImagemapQuestionGUI, assKprimChoiceGUI, assLongMenuGUI, assMatchingQuestionGUI, assMultipleChoiceGUI, assNumericGUI, assOrderingHorizontalGUI, assOrderingQuestionGUI, assSingleChoiceGUI, assTextQuestionGUI, and assTextSubsetGUI.
Definition at line 1833 of file class.assQuestionGUI.php.
Referenced by ilTestCorrectionsGUI\saveQuestion().
Here is the caller graph for this function:| assQuestionGUI::saveQuestion | ( | ) |
Definition at line 725 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
Here is the call graph for this function:| assQuestionGUI::saveReturn | ( | ) |
Definition at line 706 of file class.assQuestionGUI.php.
References ilAssQuestionPreviewGUI\CMD_SHOW, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Here is the call graph for this function:| assQuestionGUI::saveSuggestedSolution | ( | ) |
Definition at line 1095 of file class.assQuestionGUI.php.
| assQuestionGUI::saveSuggestedSolutionType | ( | ) |
Definition at line 1321 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
protected |
Definition at line 966 of file class.assQuestionGUI.php.
References ILIAS\Repository\object().
Referenced by assClozeTestGUI\writePostData(), assErrorTextGUI\writePostData(), assFileUploadGUI\writePostData(), assFormulaQuestionGUI\writePostData(), assImagemapQuestionGUI\writePostData(), assLongMenuGUI\writePostData(), assMatchingQuestionGUI\writePostData(), assMultipleChoiceGUI\writePostData(), assNumericGUI\writePostData(), assOrderingHorizontalGUI\writePostData(), assOrderingQuestionGUI\writePostData(), assSingleChoiceGUI\writePostData(), assTextQuestionGUI\writePostData(), assTextSubsetGUI\writePostData(), and assLongMenuGUI\writeQuestionSpecificPostData().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::setAdditionalContentEditingModeFromPost | ( | ) |
Definition at line 756 of file class.assQuestionGUI.php.
References ILIAS\Repository\object().
Referenced by assMatchingQuestionGUI\adddefinitions(), assMatchingQuestionGUI\addpairs(), assMatchingQuestionGUI\addterms(), assMatchingQuestionGUI\removedefinitions(), assMatchingQuestionGUI\removeimagedefinitions(), assMatchingQuestionGUI\removeimageterms(), assMatchingQuestionGUI\removepairs(), assMatchingQuestionGUI\removeterms(), assFormulaQuestionGUI\suggestRange(), assMatchingQuestionGUI\uploaddefinitions(), and assMatchingQuestionGUI\uploadterms().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestionGUI::setAdjustmentEditContext | ( | ) |
Definition at line 486 of file class.assQuestionGUI.php.
| assQuestionGUI::setContextAllowsSyncToPool | ( | bool | $sync_allowed | ) |
Definition at line 1998 of file class.assQuestionGUI.php.
| assQuestionGUI::setCopyToExistingPoolOnSave | ( | ?int | $pool_ref_id | ) |
Definition at line 266 of file class.assQuestionGUI.php.
Referenced by ilObjTestGUI\executeAfterQuestionCreationTasks().
Here is the caller graph for this function:| assQuestionGUI::setCopyToNewPoolOnSave | ( | ?string | $pool_title | ) |
Definition at line 276 of file class.assQuestionGUI.php.
Referenced by ilObjTestGUI\executeAfterQuestionCreationTasks().
Here is the caller graph for this function:
|
protected |
Definition at line 1570 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
Here is the call graph for this function:| assQuestionGUI::setEditContext | ( | string | $editContext | ) |
Definition at line 471 of file class.assQuestionGUI.php.
| assQuestionGUI::setErrorMessage | ( | string | $errormessage | ) |
Definition at line 826 of file class.assQuestionGUI.php.
Referenced by assErrorTextGUI\__construct(), assMatchingQuestionGUI\__construct(), assOrderingHorizontalGUI\__construct(), and assFileUploadGUI\__construct().
Here is the caller graph for this function:| assQuestionGUI::setInLearningModuleContext | ( | bool | $flag | ) |
Definition at line 1968 of file class.assQuestionGUI.php.
| assQuestionGUI::setMoveAfterQuestionId | ( | ?int | $question_id | ) |
Definition at line 286 of file class.assQuestionGUI.php.
Referenced by ilObjTestGUI\addPostCreationTasksToQuestionGUI(), and ilObjTestGUI\executeAfterQuestionCreationTasks().
Here is the caller graph for this function:| assQuestionGUI::setNavigationGUI | ( | ?ilTestQuestionNavigationGUI | $navigationGUI | ) |
Definition at line 496 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\populateInstantResponseModal().
Here is the caller graph for this function:| assQuestionGUI::setObject | ( | assQuestion | $question | ) |
Definition at line 261 of file class.assQuestionGUI.php.
Referenced by ilAssQuestionSkillAssignmentsGUI\buildQuestionPage(), ilTestCorrectionsGUI\getQuestionGUI(), ilTestPlayerAbstractGUI\getQuestionGuiInstance(), and ilTestCorrectionsGUI\saveQuestion().
Here is the caller graph for this function:| assQuestionGUI::setPresentationContext | ( | string | $presentationContext | ) |
Definition at line 396 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\getQuestionGuiInstance().
Here is the caller graph for this function:| assQuestionGUI::setPreviewSession | ( | ilAssQuestionPreviewSession | $preview_session | ) |
Definition at line 1761 of file class.assQuestionGUI.php.
| assQuestionGUI::setPreviousSolutionPrefilled | ( | bool | $previousSolutionPrefilled | ) |
Definition at line 412 of file class.assQuestionGUI.php.
| assQuestionGUI::setQuestionActionCmd | ( | string | $questionActionCmd | ) |
Definition at line 538 of file class.assQuestionGUI.php.
| assQuestionGUI::setQuestionCount | ( | int | $a_question_count | ) |
Definition at line 811 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\showQuestionCmd().
Here is the caller graph for this function:| assQuestionGUI::setQuestionHeaderBlockBuilder | ( | \ilQuestionHeaderBlockBuilder | $questionHeaderBlockBuilder | ) |
Definition at line 526 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\showQuestionCmd().
Here is the caller graph for this function:
|
protected |
Reimplemented in assFormulaQuestionGUI.
Definition at line 1580 of file class.assQuestionGUI.php.
| assQuestionGUI::setQuestionTabs | ( | ) |
Definition at line 1558 of file class.assQuestionGUI.php.
References ILIAS\Repository\object().
Here is the call graph for this function:| assQuestionGUI::setRenderPurpose | ( | string | $renderPurpose | ) |
Definition at line 423 of file class.assQuestionGUI.php.
| assQuestionGUI::setSequenceNumber | ( | int | $nr | ) |
Definition at line 801 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\showQuestionCmd().
Here is the caller graph for this function:| assQuestionGUI::setTargetGui | ( | $linkTargetGui | ) |
Definition at line 511 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\getQuestionGuiInstance().
Here is the caller graph for this function:| assQuestionGUI::setTargetGuiClass | ( | string | $targetGuiClass | ) |
Definition at line 516 of file class.assQuestionGUI.php.
| assQuestionGUI::setTaxonomyIds | ( | array | $taxonomyIds | ) |
Definition at line 501 of file class.assQuestionGUI.php.
|
protected |
Definition at line 765 of file class.assQuestionGUI.php.
Referenced by assFormulaQuestionGUI\suggestRange().
Here is the caller graph for this function:| assQuestionGUI::suggestedsolution | ( | bool | $save = false | ) |
Definition at line 1105 of file class.assQuestionGUI.php.
References ILIAS\UI\Implementation\Component\Input\Field\$options, $res, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilFileUtils\makeDirParents(), ilFileUtils\moveUploadedFile(), ILIAS\Repository\object(), ilLegacyFormElementsUtil\prepareFormOutput(), and ilFileUtils\renameExecutables().
Here is the call graph for this function:| assQuestionGUI::supportsAdjustment | ( | ) |
Definition at line 2070 of file class.assQuestionGUI.php.
| assQuestionGUI::syncQuestion | ( | ) |
Definition at line 697 of file class.assQuestionGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Evaluates a posted edit form and writes the form data in the question object.
Reimplemented in assClozeTestGUI, assErrorTextGUI, assFileUploadGUI, assFormulaQuestionGUI, assImagemapQuestionGUI, assKprimChoiceGUI, assLongMenuGUI, assMatchingQuestionGUI, assMultipleChoiceGUI, assNumericGUI, assOrderingHorizontalGUI, assOrderingQuestionGUI, assSingleChoiceGUI, assTextQuestionGUI, and assTextSubsetGUI.
Definition at line 556 of file class.assQuestionGUI.php.
|
protected |
Definition at line 1660 of file class.assQuestionGUI.php.
References Vendor\Package\$e, $lifecycle, ILIAS\Repository\object(), and ilUtil\stripOnlySlashes().
Referenced by assOrderingQuestionGUI\uploadElementImage(), assClozeTestGUI\writePostData(), assErrorTextGUI\writePostData(), assFileUploadGUI\writePostData(), assImagemapQuestionGUI\writePostData(), assLongMenuGUI\writePostData(), assMatchingQuestionGUI\writePostData(), assMultipleChoiceGUI\writePostData(), assNumericGUI\writePostData(), assOrderingHorizontalGUI\writePostData(), assOrderingQuestionGUI\writePostData(), assSingleChoiceGUI\writePostData(), assTextQuestionGUI\writePostData(), and assTextSubsetGUI\writePostData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 105 of file class.assQuestionGUI.php.
|
private |
Definition at line 112 of file class.assQuestionGUI.php.
|
private |
Definition at line 111 of file class.assQuestionGUI.php.
|
private |
Definition at line 160 of file class.assQuestionGUI.php.
|
private |
Definition at line 156 of file class.assQuestionGUI.php.
|
private |
Definition at line 157 of file class.assQuestionGUI.php.
|
protected |
Definition at line 115 of file class.assQuestionGUI.php.
|
private |
Definition at line 116 of file class.assQuestionGUI.php.
|
private |
Definition at line 109 of file class.assQuestionGUI.php.
|
private |
Definition at line 147 of file class.assQuestionGUI.php.
|
protected |
Definition at line 151 of file class.assQuestionGUI.php.
|
protected |
Definition at line 123 of file class.assQuestionGUI.php.
|
protected |
Definition at line 124 of file class.assQuestionGUI.php.
|
protected |
Definition at line 152 of file class.assQuestionGUI.php.
|
private |
Definition at line 104 of file class.assQuestionGUI.php.
|
private |
Definition at line 103 of file class.assQuestionGUI.php.
|
protected |
Definition at line 120 of file class.assQuestionGUI.php.
|
protected |
Definition at line 110 of file class.assQuestionGUI.php.
|
private |
Definition at line 159 of file class.assQuestionGUI.php.
|
private |
Definition at line 140 of file class.assQuestionGUI.php.
|
protected |
Definition at line 114 of file class.assQuestionGUI.php.
|
protected |
Definition at line 118 of file class.assQuestionGUI.php.
|
protected |
Definition at line 154 of file class.assQuestionGUI.php.
|
private |
Definition at line 143 of file class.assQuestionGUI.php.
|
private |
Definition at line 117 of file class.assQuestionGUI.php.
|
private |
Definition at line 149 of file class.assQuestionGUI.php.
|
protected |
question count in test
Definition at line 130 of file class.assQuestionGUI.php.
|
private |
Definition at line 161 of file class.assQuestionGUI.php.
|
private |
Definition at line 136 of file class.assQuestionGUI.php.
|
private |
Definition at line 138 of file class.assQuestionGUI.php.
|
protected |
Definition at line 113 of file class.assQuestionGUI.php.
|
private |
Definition at line 107 of file class.assQuestionGUI.php.
|
protected |
Definition at line 121 of file class.assQuestionGUI.php.
|
private |
Definition at line 145 of file class.assQuestionGUI.php.
|
protected |
Definition at line 153 of file class.assQuestionGUI.php.
|
protected |
sequence number in test
Definition at line 127 of file class.assQuestionGUI.php.
|
protected |
Definition at line 1929 of file class.assQuestionGUI.php.
|
private |
Definition at line 106 of file class.assQuestionGUI.php.
|
private |
Definition at line 134 of file class.assQuestionGUI.php.
|
private |
Definition at line 132 of file class.assQuestionGUI.php.
|
protected |
Definition at line 119 of file class.assQuestionGUI.php.
|
private |
Definition at line 108 of file class.assQuestionGUI.php.
|
protected |
Definition at line 102 of file class.assQuestionGUI.php.
|
protected |
There are functions that need an existing question.
As we stop creating useless question stubs with ILIAS 10, we need to know when we absolutly need one. This is not the right solution, but it is a first step.
Definition at line 93 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 43 of file class.assQuestionGUI.php.
Referenced by ilKprimChoiceWizardInputGUI\cleanupAnswerText().
|
private |
Definition at line 75 of file class.assQuestionGUI.php.
|
private |
Definition at line 76 of file class.assQuestionGUI.php.
|
private |
Definition at line 78 of file class.assQuestionGUI.php.
| const assQuestionGUI::CMD_SYNC_QUESTION_AND_RETURN = 'syncQuestionReturn' |
Definition at line 79 of file class.assQuestionGUI.php.
Referenced by ilAssQuestionPreviewGUI\showCmd().
| const assQuestionGUI::CORRECTNESS_MOSTLY_OK = 1 |
Definition at line 54 of file class.assQuestionGUI.php.
| const assQuestionGUI::CORRECTNESS_NOT_OK = 0 |
Definition at line 53 of file class.assQuestionGUI.php.
| const assQuestionGUI::CORRECTNESS_OK = 2 |
Definition at line 55 of file class.assQuestionGUI.php.
| const assQuestionGUI::EDIT_CONTEXT_ADJUSTMENT = 'adjustment' |
Definition at line 64 of file class.assQuestionGUI.php.
| const assQuestionGUI::EDIT_CONTEXT_AUTHORING = 'authoring' |
Definition at line 63 of file class.assQuestionGUI.php.
Referenced by ilObjTestGUI\forwardCommandToQuestion().
| const assQuestionGUI::FORM_ENCODING_MULTIPART = 'multipart/form-data' |
Definition at line 51 of file class.assQuestionGUI.php.
| const assQuestionGUI::FORM_ENCODING_URLENCODE = 'application/x-www-form-urlencoded' |
Definition at line 50 of file class.assQuestionGUI.php.
| const assQuestionGUI::FORM_MODE_ADJUST = 'adjust' |
Definition at line 48 of file class.assQuestionGUI.php.
| const assQuestionGUI::FORM_MODE_EDIT = 'edit' |
Definition at line 47 of file class.assQuestionGUI.php.
|
protected |
Definition at line 69 of file class.assQuestionGUI.php.
| const assQuestionGUI::PRESENTATION_CONTEXT_RESULTS = 'pContextResults' |
Definition at line 67 of file class.assQuestionGUI.php.
| const assQuestionGUI::PRESENTATION_CONTEXT_TEST = 'pContextTest' |
Definition at line 66 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\getQuestionGuiInstance().
|
protected |
Definition at line 81 of file class.assQuestionGUI.php.
| const assQuestionGUI::RENDER_PURPOSE_DEMOPLAY = 'renderPurposeDemoplay' |
Definition at line 58 of file class.assQuestionGUI.php.
Referenced by ilAssQuestionPreviewGUI\initQuestion().
| const assQuestionGUI::RENDER_PURPOSE_INPUT_VALUE = 'renderPurposeInputValue' |
Definition at line 61 of file class.assQuestionGUI.php.
| const assQuestionGUI::RENDER_PURPOSE_PLAYBACK = 'renderPurposePlayback' |
Definition at line 57 of file class.assQuestionGUI.php.
| const assQuestionGUI::RENDER_PURPOSE_PREVIEW = 'renderPurposePreview' |
Definition at line 59 of file class.assQuestionGUI.php.
Referenced by ilQuestionPoolPrintViewTableGUI\fillRow(), ilAssQuestionPageCommandForwarder\forward(), and ILIAS\Test\Questions\Presentation\Printer\printAnswers().
| const assQuestionGUI::RENDER_PURPOSE_PRINT_PDF = 'renderPurposePrintPdf' |
Definition at line 60 of file class.assQuestionGUI.php.
| const assQuestionGUI::SESSION_PREVIEW_DATA_BASE_INDEX = 'ilAssQuestionPreviewAnswers' |
Definition at line 45 of file class.assQuestionGUI.php.
|
protected |
Definition at line 71 of file class.assQuestionGUI.php.
|
protected |
Definition at line 73 of file class.assQuestionGUI.php.
|
protected |
Definition at line 72 of file class.assQuestionGUI.php.