|
ILIAS
trunk Revision v12.0_alpha-1221-g4e438232683
|
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 () | |
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 Attributes | |
| const | CMD_SAVE = 'save' |
| const | CMD_SAVE_AND_RETURN = 'saveReturn' |
| const | CMD_SYNC_QUESTION = 'syncQuestion' |
| ilObjectDataCache | $ilObjDataCache |
| ilHelpGUI | $ilHelp |
| ilAccessHandler | $access |
| ilTabsGUI | $tabs_gui |
| ilRbacSystem | $rbacsystem |
| ilTree | $tree |
| ilDBInterface | $db |
| ilComponentRepository | $component_repository |
| ilObjUser | $current_user |
| ilAssQuestionPreviewSession | $preview_session = null |
| $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 |
| int | $copy_to_existing_pool_on_save = null |
| string | $copy_to_new_pool_on_save = null |
| int | $move_after_question_with_id = null |
| bool | $context_allows_sync_to_pool = false |
| string | $question_sync_modal = '' |
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 573 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 1719 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 856 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 829 of file class.assQuestionGUI.php.
Referenced by assFormulaQuestionGUI\writePostData().
Here is the caller graph for this function:| assQuestionGUI::addGIT | ( | ) |
Definition at line 1511 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| assQuestionGUI::addHeaderAction | ( | ) |
Definition at line 299 of file class.assQuestionGUI.php.
|
protected |
Definition at line 944 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 1495 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| assQuestionGUI::addQuestionFormCommandButtons | ( | ilPropertyFormGUI | $form | ) |
Definition at line 848 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 1960 of file class.assQuestionGUI.php.
| assQuestionGUI::addST | ( | ) |
Definition at line 1503 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 1619 of file class.assQuestionGUI.php.
References ilTabsGUI\addTarget(), and ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
protected |
Definition at line 1605 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 1571 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 559 of file class.assQuestionGUI.php.
|
protected |
Definition at line 1761 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 1777 of file class.assQuestionGUI.php.
Referenced by assMultipleChoiceGUI\writePostData().
Here is the caller graph for this function:| assQuestionGUI::buildFileDownloadLink | ( | ) |
Definition at line 2049 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 1783 of file class.assQuestionGUI.php.
| assQuestionGUI::cancelExplorer | ( | ) |
Definition at line 1344 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| assQuestionGUI::cancelSuggestedSolution | ( | ) |
Definition at line 1087 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 1930 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 1980 of file class.assQuestionGUI.php.
|
protected |
Reimplemented in assImagemapQuestionGUI.
Definition at line 1701 of file class.assQuestionGUI.php.
|
protected |
Definition at line 1459 of file class.assQuestionGUI.php.
|
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 1772 of file class.assQuestionGUI.php.
References $text.
| assQuestionGUI::executeCommand | ( | ) |
Definition at line 335 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
Definition at line 1825 of file class.assQuestionGUI.php.
References $path, ilUtil\getImagePath(), ILIAS\Repository\lng(), and ILIAS\Repository\ui().
Here is the call graph for this function:
|
protected |
Definition at line 1022 of file class.assQuestionGUI.php.
|
protected |
Reimplemented in assKprimChoiceGUI.
Definition at line 1600 of file class.assQuestionGUI.php.
| assQuestionGUI::getAnswerFrequencyTableGUI | ( | $parentGui, | |
| $parentCmd, | |||
| $relevantAnswers, | |||
| $questionIndex | |||
| ) |
Reimplemented in assClozeTestGUI, assKprimChoiceGUI, assLongMenuGUI, and assMatchingQuestionGUI.
Definition at line 1803 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 1798 of file class.assQuestionGUI.php.
| assQuestionGUI::getAsValueAttribute | ( | string | $a_value | ) |
Definition at line 839 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 2016 of file class.assQuestionGUI.php.
|
protected |
Definition at line 1595 of file class.assQuestionGUI.php.
|
static |
Definition at line 1524 of file class.assQuestionGUI.php.
Referenced by ilPCQuestionGUI\setTabs().
Here is the caller graph for this function:| assQuestionGUI::getCommentsPanelHTML | ( | ) |
Definition at line 329 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 781 of file class.assQuestionGUI.php.
References $path.
| assQuestionGUI::getCopyToExistingPoolOnSave | ( | ) |
Definition at line 269 of file class.assQuestionGUI.php.
Referenced by ilObjTestGUI\executeAfterQuestionCreationTasks().
Here is the caller graph for this function:| assQuestionGUI::getCopyToNewPoolOnSave | ( | ) |
Definition at line 279 of file class.assQuestionGUI.php.
Referenced by ilObjTestGUI\executeAfterQuestionCreationTasks().
Here is the caller graph for this function:| assQuestionGUI::getEditContext | ( | ) |
Definition at line 464 of file class.assQuestionGUI.php.
|
final |
Definition at line 1590 of file class.assQuestionGUI.php.
| assQuestionGUI::getErrorMessage | ( | ) |
Definition at line 819 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 1714 of file class.assQuestionGUI.php.
| assQuestionGUI::getGenericFeedbackOutput | ( | int | $active_id, |
| ?int | $pass | ||
| ) |
| int | null | $pass | Active pass |
Definition at line 1007 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 1043 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 1051 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 309 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 632 of file class.assQuestionGUI.php.
References ILIAS\Repository\object().
Here is the call graph for this function:| assQuestionGUI::getMoveAfterQuestionId | ( | ) |
Definition at line 289 of file class.assQuestionGUI.php.
Referenced by ilObjTestGUI\executeAfterQuestionCreationTasks().
Here is the caller graph for this function:| assQuestionGUI::getNavigationGUI | ( | ) |
Definition at line 489 of file class.assQuestionGUI.php.
| assQuestionGUI::getObject | ( | ) |
Definition at line 250 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(), ilTestPlayerAbstractGUI\showListOfAnswers(), ilObjTestGUI\showNextViewAfterQuestionSave(), ilTestPlayerAbstractGUI\showQuestionCmd(), ilTestCorrectionsGUI\showSolution(), and ilTestCorrectionsGUI\supportsAdjustment().
Here is the caller graph for this function:| assQuestionGUI::getPresentationContext | ( | ) |
Definition at line 389 of file class.assQuestionGUI.php.
| assQuestionGUI::getPresentationJavascripts | ( | ) |
Reimplemented in assMultipleChoiceGUI.
Definition at line 609 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 1756 of file class.assQuestionGUI.php.
|
protected |
Reimplemented in assFileUploadGUI, and assImagemapQuestionGUI.
Definition at line 688 of file class.assQuestionGUI.php.
References ilGlobalPageTemplate\get(), ILIAS\Repository\lng(), and ilGlobalPageTemplate\setVariable().
Here is the call graph for this function:
|
protected |
Reimplemented in assFileUploadGUI.
Definition at line 683 of file class.assQuestionGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| assQuestionGUI::getQuestionActionCmd | ( | ) |
Definition at line 545 of file class.assQuestionGUI.php.
| assQuestionGUI::getQuestionCount | ( | ) |
Definition at line 814 of file class.assQuestionGUI.php.
| assQuestionGUI::getQuestionHeaderBlockBuilder | ( | ) |
Definition at line 530 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 1996 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 614 of file class.assQuestionGUI.php.
| assQuestionGUI::getQuestionType | ( | ) |
Definition at line 834 of file class.assQuestionGUI.php.
| assQuestionGUI::getRenderPurpose | ( | ) |
Definition at line 416 of file class.assQuestionGUI.php.
| assQuestionGUI::getSequenceNumber | ( | ) |
Definition at line 804 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(), ilTestPlayerAbstractGUI\showListOfAnswers(), 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 1793 of file class.assQuestionGUI.php.
|
protected |
Definition at line 1917 of file class.assQuestionGUI.php.
References $dic.
| assQuestionGUI::getTargetGuiClass | ( | ) |
Definition at line 519 of file class.assQuestionGUI.php.
| assQuestionGUI::getTaxonomyIds | ( | ) |
Definition at line 504 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 384 of file class.assQuestionGUI.php.
|
protected |
Definition at line 1074 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 676 of file class.assQuestionGUI.php.
References ilGlobalPageTemplate\get(), ILIAS\Repository\object(), and ilGlobalPageTemplate\setVariable().
Here is the call graph for this function:
|
protected |
Definition at line 1634 of file class.assQuestionGUI.php.
| assQuestionGUI::hasInlineFeedback | ( | ) |
Reimplemented in assKprimChoiceGUI, assMultipleChoiceGUI, and assSingleChoiceGUI.
Definition at line 294 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\populateInstantResponseBlocks().
Here is the caller graph for this function:
|
protected |
Definition at line 378 of file class.assQuestionGUI.php.
| assQuestionGUI::isAdjustmentEditContext | ( | ) |
Definition at line 479 of file class.assQuestionGUI.php.
| assQuestionGUI::isAnswerFrequencyStatisticSupported | ( | ) |
Definition at line 1788 of file class.assQuestionGUI.php.
Referenced by ilTestCorrectionsGUI\setCorrectionTabsContext().
Here is the caller graph for this function:| assQuestionGUI::isAuthoringEditContext | ( | ) |
Definition at line 474 of file class.assQuestionGUI.php.
| assQuestionGUI::isAutosaveable | ( | ) |
Definition at line 1642 of file class.assQuestionGUI.php.
| assQuestionGUI::isInLearningModuleContext | ( | ) |
Definition at line 1951 of file class.assQuestionGUI.php.
Referenced by assOrderingQuestionGUI\populateQuestionSpecificFormPart().
Here is the caller graph for this function:| assQuestionGUI::isPreviousSolutionPrefilled | ( | ) |
Definition at line 405 of file class.assQuestionGUI.php.
| assQuestionGUI::isRenderPurposeDemoplay | ( | ) |
Definition at line 446 of file class.assQuestionGUI.php.
| assQuestionGUI::isRenderPurposeInputValue | ( | ) |
Definition at line 436 of file class.assQuestionGUI.php.
| assQuestionGUI::isRenderPurposePlayback | ( | ) |
Definition at line 441 of file class.assQuestionGUI.php.
| assQuestionGUI::isRenderPurposePreview | ( | ) |
Definition at line 431 of file class.assQuestionGUI.php.
| assQuestionGUI::isRenderPurposePrintPdf | ( | ) |
Definition at line 426 of file class.assQuestionGUI.php.
| assQuestionGUI::isSaveCommand | ( | ) |
Definition at line 1519 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 399 of file class.assQuestionGUI.php.
| assQuestionGUI::linkChilds | ( | ) |
Definition at line 1473 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| assQuestionGUI::magicAfterTestOutput | ( | ) |
Reimplemented in assTextQuestionGUI.
Definition at line 1709 of file class.assQuestionGUI.php.
| assQuestionGUI::needsSyncQuery | ( | ) |
Definition at line 1990 of file class.assQuestionGUI.php.
| assQuestionGUI::outChapterSelector | ( | ) |
Definition at line 1403 of file class.assQuestionGUI.php.
References 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 1433 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Here is the call graph for this function:| assQuestionGUI::outPageSelector | ( | ) |
Definition at line 1349 of file class.assQuestionGUI.php.
References 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 1675 of file class.assQuestionGUI.php.
| assQuestionGUI::outQuestionPage | ( | $a_temp_var, | |
$a_postponed = false, |
|||
$active_id = "", |
|||
$html = "", |
|||
$inlineFeedbackEnabled = false |
|||
| ) |
Definition at line 644 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 1061 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 1276 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 1816 of file class.assQuestionGUI.php.
Referenced by ilTestCorrectionsGUI\buildQuestionCorrectionForm().
Here is the caller graph for this function:| assQuestionGUI::populateJavascriptFilesRequiredForWorkForm | ( | ilGlobalTemplateInterface | $tpl | ) |
Definition at line 602 of file class.assQuestionGUI.php.
References 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 977 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 1812 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 1859 of file class.assQuestionGUI.php.
| assQuestionGUI::redrawHeaderAction | ( | ) |
Definition at line 303 of file class.assQuestionGUI.php.
References exit, and ILIAS\Repository\ui().
Here is the call graph for this function:
|
protected |
Definition at line 622 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 1911 of file class.assQuestionGUI.php.
References ILIAS\Repository\ui().
Here is the call graph for this function:| assQuestionGUI::renderPurposeSupportsFormHtml | ( | ) |
Definition at line 451 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 228 of file class.assQuestionGUI.php.
|
protected |
Definition at line 2057 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 1820 of file class.assQuestionGUI.php.
Referenced by ilTestCorrectionsGUI\saveQuestion().
Here is the caller graph for this function:| assQuestionGUI::saveQuestion | ( | ) |
Definition at line 723 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 704 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 1082 of file class.assQuestionGUI.php.
| assQuestionGUI::saveSuggestedSolutionType | ( | ) |
Definition at line 1308 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
protected |
Definition at line 964 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 754 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 484 of file class.assQuestionGUI.php.
| assQuestionGUI::setContextAllowsSyncToPool | ( | bool | $sync_allowed | ) |
Definition at line 1985 of file class.assQuestionGUI.php.
| assQuestionGUI::setCopyToExistingPoolOnSave | ( | ?int | $pool_ref_id | ) |
Definition at line 264 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 274 of file class.assQuestionGUI.php.
Referenced by ilObjTestGUI\executeAfterQuestionCreationTasks().
Here is the caller graph for this function:
|
protected |
Definition at line 1557 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 469 of file class.assQuestionGUI.php.
| assQuestionGUI::setErrorMessage | ( | string | $errormessage | ) |
Definition at line 824 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 1955 of file class.assQuestionGUI.php.
| assQuestionGUI::setMoveAfterQuestionId | ( | ?int | $question_id | ) |
Definition at line 284 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 494 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\populateInstantResponseModal().
Here is the caller graph for this function:| assQuestionGUI::setObject | ( | assQuestion | $question | ) |
Definition at line 259 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 394 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 1748 of file class.assQuestionGUI.php.
| assQuestionGUI::setPreviousSolutionPrefilled | ( | bool | $previousSolutionPrefilled | ) |
Definition at line 410 of file class.assQuestionGUI.php.
| assQuestionGUI::setQuestionActionCmd | ( | string | $questionActionCmd | ) |
Definition at line 536 of file class.assQuestionGUI.php.
| assQuestionGUI::setQuestionCount | ( | int | $a_question_count | ) |
Definition at line 809 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\showQuestionCmd().
Here is the caller graph for this function:| assQuestionGUI::setQuestionHeaderBlockBuilder | ( | \ilQuestionHeaderBlockBuilder | $questionHeaderBlockBuilder | ) |
Definition at line 524 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\showQuestionCmd().
Here is the caller graph for this function:
|
protected |
Reimplemented in assFormulaQuestionGUI.
Definition at line 1567 of file class.assQuestionGUI.php.
| assQuestionGUI::setQuestionTabs | ( | ) |
Definition at line 1545 of file class.assQuestionGUI.php.
References ILIAS\Repository\object().
Here is the call graph for this function:| assQuestionGUI::setRenderPurpose | ( | string | $renderPurpose | ) |
Definition at line 421 of file class.assQuestionGUI.php.
| assQuestionGUI::setSequenceNumber | ( | int | $nr | ) |
Definition at line 799 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\showQuestionCmd().
Here is the caller graph for this function:| assQuestionGUI::setTargetGui | ( | $linkTargetGui | ) |
Definition at line 509 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\getQuestionGuiInstance().
Here is the caller graph for this function:| assQuestionGUI::setTargetGuiClass | ( | string | $targetGuiClass | ) |
Definition at line 514 of file class.assQuestionGUI.php.
| assQuestionGUI::setTaxonomyIds | ( | array | $taxonomyIds | ) |
Definition at line 499 of file class.assQuestionGUI.php.
|
protected |
Definition at line 763 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 1092 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::syncQuestion | ( | ) |
Definition at line 695 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 554 of file class.assQuestionGUI.php.
|
protected |
Definition at line 1647 of file class.assQuestionGUI.php.
References Vendor\Package\$e, $lifecycle, ilAssQuestionLifecycle\getInstance(), 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 111 of file class.assQuestionGUI.php.
|
private |
Definition at line 159 of file class.assQuestionGUI.php.
|
private |
Definition at line 155 of file class.assQuestionGUI.php.
|
private |
Definition at line 156 of file class.assQuestionGUI.php.
|
protected |
Definition at line 114 of file class.assQuestionGUI.php.
|
private |
Definition at line 115 of file class.assQuestionGUI.php.
|
private |
Definition at line 109 of file class.assQuestionGUI.php.
|
private |
Definition at line 146 of file class.assQuestionGUI.php.
|
protected |
Definition at line 150 of file class.assQuestionGUI.php.
|
protected |
Definition at line 122 of file class.assQuestionGUI.php.
|
protected |
Definition at line 123 of file class.assQuestionGUI.php.
|
protected |
Definition at line 151 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 119 of file class.assQuestionGUI.php.
|
protected |
Definition at line 110 of file class.assQuestionGUI.php.
|
private |
Definition at line 158 of file class.assQuestionGUI.php.
|
private |
Definition at line 139 of file class.assQuestionGUI.php.
|
protected |
Definition at line 113 of file class.assQuestionGUI.php.
|
protected |
Definition at line 117 of file class.assQuestionGUI.php.
|
protected |
Definition at line 153 of file class.assQuestionGUI.php.
|
private |
Definition at line 142 of file class.assQuestionGUI.php.
|
private |
Definition at line 116 of file class.assQuestionGUI.php.
|
private |
Definition at line 148 of file class.assQuestionGUI.php.
|
protected |
question count in test
Definition at line 129 of file class.assQuestionGUI.php.
|
private |
Definition at line 160 of file class.assQuestionGUI.php.
|
private |
Definition at line 135 of file class.assQuestionGUI.php.
|
private |
Definition at line 137 of file class.assQuestionGUI.php.
|
protected |
Definition at line 112 of file class.assQuestionGUI.php.
|
private |
Definition at line 107 of file class.assQuestionGUI.php.
|
protected |
Definition at line 120 of file class.assQuestionGUI.php.
|
private |
Definition at line 144 of file class.assQuestionGUI.php.
|
protected |
Definition at line 152 of file class.assQuestionGUI.php.
|
protected |
sequence number in test
Definition at line 126 of file class.assQuestionGUI.php.
|
protected |
Definition at line 1916 of file class.assQuestionGUI.php.
|
private |
Definition at line 106 of file class.assQuestionGUI.php.
|
private |
Definition at line 133 of file class.assQuestionGUI.php.
|
private |
Definition at line 131 of file class.assQuestionGUI.php.
|
protected |
Definition at line 118 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.