ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Static Public Member Functions | |
static | _getQuestionGUI (string $question_type='', int $question_id=-1) |
Creates a question gui representation and returns the alias to the question gui. More... | |
static | _getGUIClassNameForId ($a_q_id) |
static | _getClassNameForQType ($q_type) |
static | getCommandsFromClassConstants (string $guiClassName, string $cmdConstantNameBegin='CMD_') |
static | prepareTextareaOutput ($txt_output, $prepare_for_latex_output=false, $omitNl2BrWhenTextArea=false) |
Prepares a string for a text area output where latex code may be in it If the text is HTML-free, CHR(13) will be converted to a line break. More... | |
Data Fields | |
const | FORM_MODE_EDIT = 'edit' |
const | FORM_MODE_ADJUST = 'adjust' |
const | FORM_ENCODING_URLENCODE = 'application/x-www-form-urlencoded' |
const | FORM_ENCODING_MULTIPART = 'multipart/form-data' |
const | CORRECTNESS_NOT_OK = 0 |
const | CORRECTNESS_MOSTLY_OK = 1 |
const | CORRECTNESS_OK = 2 |
const | ALLOWED_PLAIN_TEXT_TAGS = "<em>, <strong>" |
sk - 12.05.2023: This const is also used in ilKprimChoiceWizardInputGUI. More... | |
const | SESSION_PREVIEW_DATA_BASE_INDEX = 'ilAssQuestionPreviewAnswers' |
assQuestion | $object |
ilGlobalPageTemplate | $tpl |
ilLanguage | $lng |
$error | |
string | $errormessage |
int | $sequence_no |
sequence number in test More... | |
int | $question_count |
question count in test More... | |
const | PRESENTATION_CONTEXT_TEST = 'pContextTest' |
const | PRESENTATION_CONTEXT_RESULTS = 'pContextResults' |
const | RENDER_PURPOSE_PLAYBACK = 'renderPurposePlayback' |
const | RENDER_PURPOSE_DEMOPLAY = 'renderPurposeDemoplay' |
const | RENDER_PURPOSE_PREVIEW = 'renderPurposePreview' |
const | RENDER_PURPOSE_PRINT_PDF = 'renderPurposePrintPdf' |
const | RENDER_PURPOSE_INPUT_VALUE = 'renderPurposeInputValue' |
const | EDIT_CONTEXT_AUTHORING = 'authoring' |
const | EDIT_CONTEXT_ADJUSTMENT = 'adjustment' |
Protected Attributes | |
const | SUGGESTED_SOLUTION_COMMANDS |
const | HAS_SPECIAL_QUESTION_COMMANDS = false |
ILIAS Notes GUIService | $notes_gui |
ilCtrl | $ctrl |
ilPropertyFormGUI | $editForm |
ILIAS TestQuestionPool InternalRequestService | $request |
Private Attributes | |
$ui | |
ilObjectDataCache | $ilObjDataCache |
ilHelpGUI | $ilHelp |
ilAccessHandler | $access |
ilObjUser | $ilUser |
ilTabsGUI | $ilTabs |
$tree | |
ilDBInterface | $ilDB |
ilComponentRepository | $component_repository |
array | $new_id_listeners = array() |
int | $new_id_listener_cnt = 0 |
$previewSession | |
$taxonomyIds = array() | |
$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 |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Basic GUI class for assessment questions
The assQuestionGUI class encapsulates basic GUI functions for assessment questions.
Definition at line 29 of file class.assQuestionGUI.php.
|
static |
Definition at line 476 of file class.assQuestionGUI.php.
Referenced by _getGUIClassNameForId().
|
static |
Definition at line 466 of file class.assQuestionGUI.php.
References _getClassNameForQType(), and assQuestion\getQuestionTypeFromDb().
Referenced by ilQuestionBrowserTableGUI\fillRow().
|
static |
Creates a question gui representation and returns the alias to the question gui.
Definition at line 433 of file class.assQuestionGUI.php.
References $DIC, assQuestion\_includeClass(), assQuestion\getFeedbackClassNameByQuestionType(), and assQuestion\getQuestionTypeFromDb().
Referenced by ilObjQuestionPoolGUI\addLocatorItems(), ilTestExpressPageObjectGUI\addPageOfQuestions(), ilObjQuestionPoolGUI\createQuestionForTestObject(), ilObjQuestionPoolGUI\createQuestionObject(), ilPCQuestionGUI\edit(), ilTestExpressPageObjectGUI\executeCommand(), ilQuestionEditGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilPageObjectGUI\executeCommand(), ilQuestionExporter\exportQuestion(), ilObjAssessmentFolder\fetchScoringAdjustableTypes(), ilAssQuestionPageCommandForwarder\forward(), ilPCQuestion\getJavascriptFiles(), ilObjQuestionPoolGUI\getQueryParamInt(), ilTestExpressPageObjectGUI\handleToolbarCommand(), ilPCQuestion\modifyPageContentPostXsl(), ilAssQuestionSkillAssignmentsGUI\saveSkillQuestionAssignmentPropertiesFormCmd(), ilObjQuestionPoolGUI\setTitleAndDescription(), and ilAssQuestionSkillAssignmentsGUI\showSkillQuestionAssignmentPropertiesFormCmd().
|
protected |
Definition at line 1931 of file class.assQuestionGUI.php.
References ilAssQuestionPreviewGUI\CMD_SHOW, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilTabsGUI\setBackTarget().
Referenced by setDefaultTabs(), and setQuestionTabs().
assQuestionGUI::addBasicQuestionFormProperties | ( | ilPropertyFormGUI | $form | ) |
Definition at line 1006 of file class.assQuestionGUI.php.
References ilObjAdvancedEditing\_getUsedHTMLTags(), ilPropertyFormGUI\addItem(), assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_IPE, addNumberOfTriesToFormIfNecessary(), ilAssSelfAssessmentQuestionFormatter\getSelfAssessmentTags(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilLegacyFormElementsUtil\prepareFormOutput(), and ilTextAreaInputGUI\setValue().
Referenced by assKprimChoiceGUI\buildEditForm(), assImagemapQuestionGUI\buildEditForm(), assLongMenuGUI\buildEditForm(), assOrderingQuestionGUI\buildEditForm(), assTextQuestionGUI\editQuestion(), assTextSubsetGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assNumericGUI\editQuestion(), assFileUploadGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), and assFormulaQuestionGUI\isSaveCommand().
assQuestionGUI::addErrorMessage | ( | string | $errormessage | ) |
Definition at line 949 of file class.assQuestionGUI.php.
References $errormessage.
Referenced by assFormulaQuestionGUI\checkInput(), and assFormulaQuestionGUI\writePostData().
assQuestionGUI::addGIT | ( | ) |
Definition at line 1680 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
assQuestionGUI::addHeaderAction | ( | ) |
Definition at line 162 of file class.assQuestionGUI.php.
assQuestionGUI::addNewIdListener | ( | $a_object, | |
string | $a_method, | ||
string | $a_parameters = "" |
||
) |
Add a listener that is notified with the new question ID, when a new question is saved.
Definition at line 978 of file class.assQuestionGUI.php.
References $new_id_listener_cnt.
|
protected |
Definition at line 1069 of file class.assQuestionGUI.php.
References ilPropertyFormGUI\addItem(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ilNumberInputGUI\setValue().
Referenced by assClozeTestGUI\addBasicQuestionFormProperties(), and addBasicQuestionFormProperties().
assQuestionGUI::addPG | ( | ) |
Definition at line 1658 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
assQuestionGUI::addQuestionFormCommandButtons | ( | ilPropertyFormGUI | $form | ) |
Definition at line 998 of file class.assQuestionGUI.php.
References ilPropertyFormGUI\addCommandButton(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by assKprimChoiceGUI\buildEditForm(), assImagemapQuestionGUI\buildEditForm(), assLongMenuGUI\buildEditForm(), assMultipleChoiceGUI\buildEditForm(), assTextQuestionGUI\editQuestion(), assTextSubsetGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assNumericGUI\editQuestion(), assFileUploadGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), and assClozeTestGUI\editQuestion().
|
protected |
Definition at line 2127 of file class.assQuestionGUI.php.
Referenced by assFormulaQuestionGUI\callSpecialQuestionCommands(), executeCommand(), and assFormulaQuestionGUI\parseQuestion().
assQuestionGUI::addST | ( | ) |
Definition at line 1669 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
|
protected |
Definition at line 1817 of file class.assQuestionGUI.php.
References ilTabsGUI\addTarget(), ILIAS\Repository\ctrl(), and getSolutionOutput().
Referenced by setDefaultTabs().
|
protected |
Definition at line 1787 of file class.assQuestionGUI.php.
References ilTabsGUI\addTarget(), ilAssQuestionFeedbackEditingGUI\CMD_SHOW, and ILIAS\Repository\ctrl().
Referenced by setDefaultTabs().
|
protected |
Definition at line 1796 of file class.assQuestionGUI.php.
References ilTabsGUI\addTarget(), ilAssQuestionHintsGUI\CMD_SHOW_LIST, and ILIAS\Repository\ctrl().
Referenced by setDefaultTabs().
assQuestionGUI::addTab_SuggestedSolution | ( | ilTabsGUI | $tabs, |
string | $classname | ||
) |
Definition at line 1757 of file class.assQuestionGUI.php.
References ilTabsGUI\addTarget(), and ILIAS\Repository\ctrl().
Referenced by setDefaultTabs().
assQuestionGUI::apply | ( | ) |
Definition at line 890 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\object(), and writePostData().
assQuestionGUI::assessment | ( | ) |
Definition at line 419 of file class.assQuestionGUI.php.
|
protected |
Definition at line 1953 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), getType(), and outQuestionType().
Referenced by assKprimChoiceGUI\buildEditForm(), assImagemapQuestionGUI\buildEditForm(), and assLongMenuGUI\buildEditForm().
|
protected |
Definition at line 1974 of file class.assQuestionGUI.php.
References $editForm.
Referenced by assMultipleChoiceGUI\editQuestion(), executeCommand(), and assMultipleChoiceGUI\writePostData().
assQuestionGUI::buildFocusAnchorHtml | ( | ) |
Definition at line 1980 of file class.assQuestionGUI.php.
Referenced by assSingleChoiceGUI\getPreview(), assMultipleChoiceGUI\getPreview(), assKprimChoiceGUI\getPreview(), assMultipleChoiceGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), and assKprimChoiceGUI\getSolutionOutput().
assQuestionGUI::callNewIdListeners | ( | int | $a_new_id | ) |
Definition at line 987 of file class.assQuestionGUI.php.
References $i, and $new_id_listener_cnt.
Referenced by save(), saveReturn(), and assFormulaQuestionGUI\saveReturnFQ().
assQuestionGUI::cancel | ( | ) |
Definition at line 579 of file class.assQuestionGUI.php.
References $_GET, ILIAS\Repository\ctrl(), and ilUtil\redirect().
assQuestionGUI::cancelExplorer | ( | ) |
Definition at line 1521 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl().
assQuestionGUI::cancelSync | ( | ) |
Definition at line 648 of file class.assQuestionGUI.php.
References $ref_id, ilLink\_getLink(), ilAssQuestionPreviewGUI\CMD_SHOW, ILIAS\Repository\ctrl(), ilObjectFactory\getInstanceByRefId(), ilTestExpressPage\getReturnToPageLink(), ILIAS\Repository\int(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
|
protected |
sk - 12.05.2023: This is one more of those that we need, but don't want.
Definition at line 2106 of file class.assQuestionGUI.php.
References ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), and ilArrayUtil\stripSlashesRecursive().
Referenced by assSingleChoiceGUI\writeAnswerSpecificPostData(), and assMultipleChoiceGUI\writeAnswerSpecificPostData().
|
protected |
Definition at line 1906 of file class.assQuestionGUI.php.
Referenced by outQuestionForTest().
|
protected |
Definition at line 1969 of file class.assQuestionGUI.php.
Referenced by assTextSubsetGUI\getPreview(), assTextSubsetGUI\getSolutionOutput(), assTextSubsetGUI\getTestOutput(), and assClozeTestGUI\populateJSON().
assQuestionGUI::executeCommand | ( | ) |
Definition at line 201 of file class.assQuestionGUI.php.
References addSaveOnEnterOnLoadCode(), buildEditForm(), ILIAS\Repository\ctrl(), hasSpecialQuestionCommands(), ilUtil\stripSlashes(), and suggestedsolution().
|
protected |
Definition at line 2022 of file class.assQuestionGUI.php.
References $path, ilUtil\getImagePath(), ILIAS\Repository\lng(), and ILIAS\Repository\ui().
Referenced by assImagemapQuestionGUI\completeTestOutputFormAction(), assLongMenuGUI\getSelectGapTemplate(), assOrderingHorizontalGUI\getSolutionOutput(), assTextSubsetGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), assFormulaQuestionGUI\getSolutionOutput(), assClozeTestGUI\getSolutionOutput(), and assLongMenuGUI\getTextGapTemplate().
|
protected |
Definition at line 1155 of file class.assQuestionGUI.php.
Referenced by getGenericFeedbackOutput(), and assClozeTestGUI\getGenericFeedbackOutput().
|
protected |
Definition at line 1782 of file class.assQuestionGUI.php.
Referenced by getEditQuestionTabCommands().
assQuestionGUI::getAnswerFrequencyTableGUI | ( | $parentGui, | |
$parentCmd, | |||
$relevantAnswers, | |||
$questionIndex | |||
) |
Definition at line 2000 of file class.assQuestionGUI.php.
References getAnswersFrequency().
assQuestionGUI::getAnswersFrequency | ( | $relevantAnswers, | |
$questionIndex | |||
) |
Definition at line 1995 of file class.assQuestionGUI.php.
Referenced by getAnswerFrequencyTableGUI().
assQuestionGUI::getAsValueAttribute | ( | string | $a_value | ) |
Definition at line 964 of file class.assQuestionGUI.php.
|
protected |
Definition at line 1777 of file class.assQuestionGUI.php.
Referenced by getEditQuestionTabCommands().
|
static |
Definition at line 1696 of file class.assQuestionGUI.php.
Referenced by ilPCQuestionGUI\setTabs().
assQuestionGUI::getContextPath | ( | $cont_obj, | |
int | $a_endnode_id, | ||
int | $a_startnode_id = 1 |
||
) |
get context path in content object tree
Definition at line 901 of file class.assQuestionGUI.php.
Referenced by outPageSelector().
assQuestionGUI::getEditContext | ( | ) |
Definition at line 324 of file class.assQuestionGUI.php.
References $editContext.
Referenced by isAdjustmentEditContext(), and isAuthoringEditContext().
|
final |
Definition at line 1772 of file class.assQuestionGUI.php.
References getAdditionalEditQuestionCommands(), and getBasicEditQuestionTabCommands().
assQuestionGUI::getErrorMessage | ( | ) |
Definition at line 939 of file class.assQuestionGUI.php.
References $errormessage.
Referenced by assTextQuestionGUI\addSuggestedSolution(), and assFormulaQuestionGUI\suggestRange().
assQuestionGUI::getFormEncodingType | ( | ) |
Definition at line 1926 of file class.assQuestionGUI.php.
Referenced by outQuestionForTest(), and ilTestPlayerAbstractGUI\showQuestionViewable().
assQuestionGUI::getGenericFeedbackOutput | ( | int | $active_id, |
?int | $pass | ||
) |
int | null | $pass | Active pass |
Definition at line 1135 of file class.assQuestionGUI.php.
References genericFeedbackOutputBuilder(), ilObjTest\getManualFeedback(), and ILIAS\Repository\object().
Referenced by assImagemapQuestionGUI\completeTestOutputFormAction(), assTextQuestionGUI\getAutoSavedSolutionOutput(), assOrderingHorizontalGUI\getSolutionOutput(), assTextSubsetGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assLongMenuGUI\getSolutionOutput(), assOrderingQuestionGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), assFormulaQuestionGUI\getSolutionOutput(), and ilTestPlayerAbstractGUI\populateGenericFeedbackBlock().
assQuestionGUI::getGenericFeedbackOutputForCorrectSolution | ( | ) |
Definition at line 1173 of file class.assQuestionGUI.php.
References ILIAS\Repository\object().
assQuestionGUI::getGenericFeedbackOutputForIncorrectSolution | ( | ) |
Definition at line 1181 of file class.assQuestionGUI.php.
References getSpecificFeedbackOutput(), and ILIAS\Repository\object().
assQuestionGUI::getHeaderAction | ( | ) |
Definition at line 172 of file class.assQuestionGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\object(), ilCommonActionDispatcherGUI\setSubObject(), ilCommonActionDispatcherGUI\TYPE_REPOSITORY, and ILIAS\Repository\ui().
Referenced by redrawHeaderAction().
assQuestionGUI::getILIASPage | ( | string | $html = "" | ) |
Returns the ILIAS Page around a question.
Definition at line 518 of file class.assQuestionGUI.php.
References ILIAS\Repository\object(), and ilPageObjectGUI\setQuestionHTML().
Referenced by assImagemapQuestionGUI\completeTestOutputFormAction(), assErrorTextGUI\generateQuestionOutput(), assTextQuestionGUI\getAutoSavedSolutionOutput(), assOrderingHorizontalGUI\getPreview(), assTextSubsetGUI\getPreview(), assNumericGUI\getPreview(), assFileUploadGUI\getPreview(), assSingleChoiceGUI\getPreview(), assLongMenuGUI\getPreview(), assMultipleChoiceGUI\getPreview(), assTextQuestionGUI\getPreview(), assKprimChoiceGUI\getPreview(), assOrderingQuestionGUI\getPreview(), assImagemapQuestionGUI\getPreview(), assMatchingQuestionGUI\getPreview(), assClozeTestGUI\getPreview(), assFormulaQuestionGUI\getPreview(), assOrderingHorizontalGUI\getSolutionOutput(), assTextSubsetGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assLongMenuGUI\getSolutionOutput(), assOrderingQuestionGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), assFormulaQuestionGUI\getSolutionOutput(), assClozeTestGUI\getSolutionOutput(), assOrderingHorizontalGUI\getTestOutput(), and assFileUploadGUI\getTestOutput().
assQuestionGUI::getNavigationGUI | ( | ) |
Definition at line 349 of file class.assQuestionGUI.php.
References $navigationGUI.
Referenced by outQuestionPage().
assQuestionGUI::getNotesHTML | ( | ) |
Definition at line 192 of file class.assQuestionGUI.php.
References ilNoteGUI\enablePublicNotes(), and ILIAS\Repository\object().
assQuestionGUI::getPresentationContext | ( | ) |
Definition at line 249 of file class.assQuestionGUI.php.
References $presentationContext.
Referenced by isTestPresentationContext().
assQuestionGUI::getPresentationJavascripts | ( | ) |
Definition at line 488 of file class.assQuestionGUI.php.
Referenced by populateJavascriptFilesRequiredForWorkForm().
|
abstract |
assQuestionGUI::getPreviewSession | ( | ) |
Definition at line 1948 of file class.assQuestionGUI.php.
References $previewSession.
Referenced by assOrderingHorizontalGUI\getPreview(), assTextSubsetGUI\getPreview(), assNumericGUI\getPreview(), assFileUploadGUI\getPreview(), assSingleChoiceGUI\getPreview(), assLongMenuGUI\getPreview(), assMultipleChoiceGUI\getPreview(), assTextQuestionGUI\getPreview(), assKprimChoiceGUI\getPreview(), assOrderingQuestionGUI\getPreview(), assImagemapQuestionGUI\getPreview(), assMatchingQuestionGUI\getPreview(), assClozeTestGUI\getPreview(), assFormulaQuestionGUI\getPreview(), assFormulaQuestionGUI\getSolutionOutput(), and assErrorTextGUI\getUsersSolutionFromPreviewOrDatabase().
|
protected |
Definition at line 572 of file class.assQuestionGUI.php.
References ilGlobalPageTemplate\get(), ILIAS\Repository\lng(), and ilGlobalPageTemplate\setVariable().
Referenced by outQuestionPage().
|
protected |
Definition at line 567 of file class.assQuestionGUI.php.
References ILIAS\Repository\lng().
Referenced by outQuestionPage().
assQuestionGUI::getQuestionActionCmd | ( | ) |
Definition at line 405 of file class.assQuestionGUI.php.
References $questionActionCmd.
Referenced by assImagemapQuestionGUI\buildAreaLinkTarget(), assFileUploadGUI\getPreview(), assImagemapQuestionGUI\getPreview(), assImagemapQuestionGUI\getPreviousSolutionConfirmationCheckboxHtml(), assFileUploadGUI\getTestOutput(), and assImagemapQuestionGUI\getTestOutput().
assQuestionGUI::getQuestionCount | ( | ) |
Definition at line 934 of file class.assQuestionGUI.php.
References $question_count.
assQuestionGUI::getQuestionHeaderBlockBuilder | ( | ) |
Definition at line 390 of file class.assQuestionGUI.php.
References $questionHeaderBlockBuilder.
Referenced by ilTestPlayerAbstractGUI\populateInstantResponseModal(), ilTestPlayerAbstractGUI\showQuestionEditable(), and ilTestPlayerAbstractGUI\showQuestionViewable().
assQuestionGUI::getQuestionTemplate | ( | ) |
Definition at line 493 of file class.assQuestionGUI.php.
Referenced by assTextQuestionGUI\addSuggestedSolution(), assImagemapQuestionGUI\areaEditor(), assKprimChoiceGUI\editQuestion(), assTextQuestionGUI\editQuestion(), assTextSubsetGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assNumericGUI\editQuestion(), assFileUploadGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assLongMenuGUI\editQuestion(), assImagemapQuestionGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), assFormulaQuestionGUI\isSaveCommand(), and renderEditForm().
assQuestionGUI::getQuestionType | ( | ) |
Definition at line 959 of file class.assQuestionGUI.php.
Referenced by ilTestCorrectionsGUI\allowedInAdjustment(), and getType().
assQuestionGUI::getRenderPurpose | ( | ) |
Definition at line 276 of file class.assQuestionGUI.php.
References $renderPurpose.
Referenced by isRenderPurposeDemoplay(), isRenderPurposeInputValue(), isRenderPurposePlayback(), isRenderPurposePreview(), isRenderPurposePrintPdf(), and suggestedsolution().
assQuestionGUI::getSequenceNumber | ( | ) |
Definition at line 924 of file class.assQuestionGUI.php.
References $sequence_no.
|
abstract |
Referenced by addTab_Question(), ilAssQuestionSkillAssignmentsGUI\buildQuestionPage(), assImagemapQuestionGUI\completeTestOutputFormAction(), ilTestPlayerAbstractGUI\populateInstantResponseBlocks(), ilTestPlayerAbstractGUI\populateInstantResponseModal(), ilTestPlayerAbstractGUI\showQuestionViewable(), and suggestedsolution().
|
abstract |
Returns the answer specific feedback for the question.
array | $userSolution | ($userSolution[<value1>] = <value2>) |
Referenced by getGenericFeedbackOutputForIncorrectSolution(), and ilTestPlayerAbstractGUI\populateSpecificFeedbackBlock().
assQuestionGUI::getSubQuestionsIndex | ( | ) |
Definition at line 1990 of file class.assQuestionGUI.php.
assQuestionGUI::getTargetGuiClass | ( | ) |
Definition at line 379 of file class.assQuestionGUI.php.
References $targetGuiClass.
Referenced by assImagemapQuestionGUI\buildAreaLinkTarget(), assErrorTextGUI\generateQuestionOutput(), assImagemapQuestionGUI\getPreview(), and assImagemapQuestionGUI\getTestOutput().
assQuestionGUI::getTaxonomyIds | ( | ) |
Definition at line 364 of file class.assQuestionGUI.php.
References $taxonomyIds.
Referenced by populateTaxonomyFormSection(), and saveTaxonomyAssignments().
|
abstract |
Referenced by magicAfterTestOutput(), and outQuestionForTest().
assQuestionGUI::getType | ( | ) |
needed for page editor compliance
Definition at line 244 of file class.assQuestionGUI.php.
References getQuestionType().
Referenced by buildBasicEditFormObject().
|
protected |
Definition at line 560 of file class.assQuestionGUI.php.
References ilGlobalPageTemplate\get(), ILIAS\Repository\object(), and ilGlobalPageTemplate\setVariable().
Referenced by outQuestionPage().
|
protected |
Definition at line 1845 of file class.assQuestionGUI.php.
Referenced by assImagemapQuestionGUI\completeTestOutputFormAction(), assTextQuestionGUI\getAutoSavedSolutionOutput(), assOrderingHorizontalGUI\getSolutionOutput(), assTextSubsetGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assLongMenuGUI\getSolutionOutput(), assOrderingQuestionGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), assFormulaQuestionGUI\getSolutionOutput(), and assClozeTestGUI\getSolutionOutput().
assQuestionGUI::hasInlineFeedback | ( | ) |
Definition at line 157 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\populateInstantResponseBlocks().
|
protected |
Definition at line 238 of file class.assQuestionGUI.php.
Referenced by executeCommand().
assQuestionGUI::isAdjustmentEditContext | ( | ) |
Definition at line 339 of file class.assQuestionGUI.php.
References getEditContext().
assQuestionGUI::isAnswerFrequencyStatisticSupported | ( | ) |
Definition at line 1985 of file class.assQuestionGUI.php.
Referenced by ilTestCorrectionsGUI\setCorrectionTabsContext().
assQuestionGUI::isAuthoringEditContext | ( | ) |
Definition at line 334 of file class.assQuestionGUI.php.
References getEditContext().
assQuestionGUI::isAutosaveable | ( | ) |
Definition at line 1853 of file class.assQuestionGUI.php.
assQuestionGUI::isPreviousSolutionPrefilled | ( | ) |
Definition at line 265 of file class.assQuestionGUI.php.
References $previousSolutionPrefilled.
assQuestionGUI::isRenderPurposeDemoplay | ( | ) |
Definition at line 306 of file class.assQuestionGUI.php.
References getRenderPurpose().
Referenced by assOrderingQuestionGUI\isInteractivePresentation().
assQuestionGUI::isRenderPurposeInputValue | ( | ) |
Definition at line 296 of file class.assQuestionGUI.php.
References getRenderPurpose().
Referenced by renderPurposeSupportsFormHtml().
assQuestionGUI::isRenderPurposePlayback | ( | ) |
Definition at line 301 of file class.assQuestionGUI.php.
References getRenderPurpose().
Referenced by assOrderingQuestionGUI\isInteractivePresentation().
assQuestionGUI::isRenderPurposePreview | ( | ) |
Definition at line 291 of file class.assQuestionGUI.php.
References getRenderPurpose().
assQuestionGUI::isRenderPurposePrintPdf | ( | ) |
Definition at line 286 of file class.assQuestionGUI.php.
References getRenderPurpose().
Referenced by assOrderingQuestionGUI\buildNestingForm(), assMultipleChoiceGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), assOrderingQuestionGUI\populateAnswerSpecificFormPart(), assClozeTestGUI\populateSolutiontextToGapTpl(), and renderPurposeSupportsFormHtml().
assQuestionGUI::isSaveCommand | ( | ) |
Definition at line 1691 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl().
Referenced by assTextQuestionGUI\editQuestion(), assTextSubsetGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assNumericGUI\editQuestion(), assFileUploadGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), and assClozeTestGUI\editQuestion().
assQuestionGUI::isTestPresentationContext | ( | ) |
Definition at line 259 of file class.assQuestionGUI.php.
References getPresentationContext().
Referenced by assImagemapQuestionGUI\completeTestOutputFormAction(), assTextQuestionGUI\getAutoSavedSolutionOutput(), assOrderingHorizontalGUI\getSolutionOutput(), assTextSubsetGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assLongMenuGUI\getSolutionOutput(), assOrderingQuestionGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), and assClozeTestGUI\getSolutionOutput().
assQuestionGUI::linkChilds | ( | ) |
Definition at line 1636 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), outChapterSelector(), outGlossarySelector(), and outPageSelector().
assQuestionGUI::magicAfterTestOutput | ( | ) |
Definition at line 1912 of file class.assQuestionGUI.php.
References getTestOutput().
Referenced by outQuestionForTest().
assQuestionGUI::originalSyncForm | ( | string | $return_to = "" , |
string | $return_to_feedback = '' |
||
) |
Definition at line 597 of file class.assQuestionGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by suggestedsolution().
assQuestionGUI::outAdditionalOutput | ( | ) |
Why are you here? Some magic for plugins?
Definition at line 955 of file class.assQuestionGUI.php.
Referenced by assTextQuestionGUI\magicAfterTestOutput().
assQuestionGUI::outChapterSelector | ( | ) |
Definition at line 1580 of file class.assQuestionGUI.php.
References $rows, ILIAS\Repository\ctrl(), ilObjectGUI\getObject(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ilUtil\stripSlashes().
Referenced by linkChilds().
assQuestionGUI::outGlossarySelector | ( | ) |
Definition at line 1610 of file class.assQuestionGUI.php.
References $rows, ILIAS\Repository\ctrl(), ilObjGlossary\getTermList(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by linkChilds().
assQuestionGUI::outPageSelector | ( | ) |
Definition at line 1526 of file class.assQuestionGUI.php.
References $rows, $tree, ILIAS\Repository\ctrl(), getContextPath(), ilObjectGUI\getObject(), ilLMPageObject\getPageList(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilLegacyFormElementsUtil\prepareFormOutput(), and ilUtil\stripSlashes().
Referenced by linkChilds().
|
final |
Definition at line 1879 of file class.assQuestionGUI.php.
References completeTestOutputFormAction(), getFormEncodingType(), getTestOutput(), and magicAfterTestOutput().
Referenced by ilTestPlayerAbstractGUI\showQuestionEditable().
assQuestionGUI::outQuestionPage | ( | $a_temp_var, | |
$a_postponed = false , |
|||
$active_id = "" , |
|||
$html = "" , |
|||
$inlineFeedbackEnabled = false |
|||
) |
Definition at line 529 of file class.assQuestionGUI.php.
References getNavigationGUI(), getPreviousSolutionConfirmationCheckboxHtml(), getPreviousSolutionProvidedMessage(), getUseUnchangedAnswerCheckboxHtml(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ilPageObjectGUI\setOutputMode().
Referenced by assTextSubsetGUI\getTestOutput(), assNumericGUI\getTestOutput(), assOrderingHorizontalGUI\getTestOutput(), assErrorTextGUI\getTestOutput(), assKprimChoiceGUI\getTestOutput(), assFileUploadGUI\getTestOutput(), assLongMenuGUI\getTestOutput(), assSingleChoiceGUI\getTestOutput(), assTextQuestionGUI\getTestOutput(), assMultipleChoiceGUI\getTestOutput(), assOrderingQuestionGUI\getTestOutput(), assImagemapQuestionGUI\getTestOutput(), assMatchingQuestionGUI\getTestOutput(), assFormulaQuestionGUI\getTestOutput(), assClozeTestGUI\getTestOutput(), ilTestPlayerAbstractGUI\populateInstantResponseModal(), and ilTestPlayerAbstractGUI\showQuestionViewable().
assQuestionGUI::outQuestionType | ( | ) |
Definition at line 1195 of file class.assQuestionGUI.php.
References $DIC, assQuestion\_getQuestionTypeName(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by buildBasicEditFormObject(), assOrderingQuestionGUI\buildEditForm(), assMultipleChoiceGUI\buildEditForm(), assOrderingQuestionGUI\buildNestingForm(), assTextQuestionGUI\editQuestion(), assTextSubsetGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assNumericGUI\editQuestion(), assFileUploadGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), assFormulaQuestionGUI\isSaveCommand(), and ilTestCorrectionsGUI\populatePageTitleAndDescription().
assQuestionGUI::outSolutionExplorer | ( | ) |
Definition at line 1450 of file class.assQuestionGUI.php.
References $DIC, $tree, $type, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilExplorer\setExpand().
assQuestionGUI::populateCorrectionsFormProperties | ( | ilPropertyFormGUI | $form | ) |
Definition at line 2013 of file class.assQuestionGUI.php.
Referenced by ilTestCorrectionsGUI\buildQuestionCorrectionForm().
assQuestionGUI::populateJavascriptFilesRequiredForWorkForm | ( | ilGlobalTemplateInterface | $tpl | ) |
Definition at line 481 of file class.assQuestionGUI.php.
References ilGlobalTemplateInterface\addJavaScript(), and getPresentationJavascripts().
|
protected |
Definition at line 1102 of file class.assQuestionGUI.php.
References ilObject\_lookupType(), ilPropertyFormGUI\addItem(), ilTaxNodeAssignment\getAssignmentsOfItem(), getTaxonomyIds(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ilFormPropertyGUI\setTitle().
Referenced by assKprimChoiceGUI\buildEditForm(), assImagemapQuestionGUI\buildEditForm(), assLongMenuGUI\buildEditForm(), assOrderingQuestionGUI\buildEditForm(), assMultipleChoiceGUI\buildEditForm(), assTextQuestionGUI\editQuestion(), assTextSubsetGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assNumericGUI\editQuestion(), assFileUploadGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assErrorTextGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assClozeTestGUI\editQuestion(), and assFormulaQuestionGUI\isSaveCommand().
assQuestionGUI::prepareReprintableCorrectionsForm | ( | ilPropertyFormGUI | $form | ) |
Definition at line 2009 of file class.assQuestionGUI.php.
|
static |
Prepares a string for a text area output where latex code may be in it If the text is HTML-free, CHR(13) will be converted to a line break.
string | $txt_output | String which should be prepared for output public |
Definition at line 2056 of file class.assQuestionGUI.php.
References ilMathJax\getInstance().
assQuestionGUI::redrawHeaderAction | ( | ) |
Definition at line 166 of file class.assQuestionGUI.php.
References exit, getHeaderAction(), and ILIAS\Repository\ui().
|
protected |
Definition at line 509 of file class.assQuestionGUI.php.
References ilPropertyFormGUI\getHTML(), and getQuestionTemplate().
Referenced by assOrderingQuestionGUI\buildEditFormAfterTypeChange(), assOrderingQuestionGUI\editNesting(), assOrderingQuestionGUI\editQuestion(), and assOrderingQuestionGUI\writePostData().
assQuestionGUI::renderPurposeSupportsFormHtml | ( | ) |
Definition at line 311 of file class.assQuestionGUI.php.
References isRenderPurposeInputValue(), and isRenderPurposePrintPdf().
Referenced by assTextQuestionGUI\getAutoSavedSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), and assKprimChoiceGUI\getSolutionOutput().
assQuestionGUI::save | ( | ) |
Definition at line 719 of file class.assQuestionGUI.php.
References $component_repository, $DIC, $ilDB, $ilTabs, $ilUser, $tree, assQuestion\_isWriteable(), assQuestion\_questionExistsInTest(), callNewIdListeners(), ILIAS\Repository\ctrl(), ilSession\get(), ilObject\getId(), ilTestExpressPage\getReturnToPageLink(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilUtil\redirect(), ilObjUser\setPref(), ilTabsGUI\setTabActive(), writePostData(), and ilObjUser\writePref().
Referenced by assFormulaQuestionGUI\saveFQ().
assQuestionGUI::saveCorrectionsFormProperties | ( | ilPropertyFormGUI | $form | ) |
Definition at line 2017 of file class.assQuestionGUI.php.
assQuestionGUI::saveEdit | ( | ) |
Definition at line 675 of file class.assQuestionGUI.php.
References $_GET, $DIC, $ilUser, $tree, assQuestion\_isWriteable(), ILIAS\Repository\ctrl(), ilSession\get(), ilObject\getId(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilUtil\redirect(), ilObjUser\setPref(), writePostData(), and ilObjUser\writePref().
assQuestionGUI::saveReturn | ( | ) |
Definition at line 820 of file class.assQuestionGUI.php.
References $component_repository, $ilDB, $ilTabs, $ilUser, $tree, assQuestion\_isWriteable(), assQuestion\_questionExistsInTest(), callNewIdListeners(), ilAssQuestionPreviewGUI\CMD_SHOW, ILIAS\Repository\ctrl(), ilSession\get(), ilObject\getId(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilObjUser\setPref(), ilTabsGUI\setTabActive(), writePostData(), and ilObjUser\writePref().
assQuestionGUI::saveSuggestedSolutionType | ( | ) |
Definition at line 1485 of file class.assQuestionGUI.php.
References $DIC, $tree, $type, ILIAS\Repository\ctrl(), and suggestedsolution().
|
protected |
Definition at line 1089 of file class.assQuestionGUI.php.
References getTaxonomyIds(), and ILIAS\Repository\object().
Referenced by assErrorTextGUI\analyze(), assFormulaQuestionGUI\saveFQ(), assFormulaQuestionGUI\saveReturnFQ(), assTextQuestionGUI\writePostData(), assMatchingQuestionGUI\writePostData(), assErrorTextGUI\writePostData(), assTextSubsetGUI\writePostData(), assFileUploadGUI\writePostData(), assOrderingHorizontalGUI\writePostData(), assSingleChoiceGUI\writePostData(), assNumericGUI\writePostData(), assMultipleChoiceGUI\writePostData(), assLongMenuGUI\writePostData(), assImagemapQuestionGUI\writePostData(), assKprimChoiceGUI\writePostData(), assClozeTestGUI\writePostData(), assOrderingQuestionGUI\writePostData(), and assLongMenuGUI\writeQuestionSpecificPostData().
assQuestionGUI::setAdjustmentEditContext | ( | ) |
Definition at line 344 of file class.assQuestionGUI.php.
References setEditContext().
|
protected |
Definition at line 1726 of file class.assQuestionGUI.php.
References addBackTab(), addTab_Question(), addTab_QuestionFeedback(), addTab_QuestionHints(), addTab_SuggestedSolution(), and ILIAS\Repository\ctrl().
Referenced by setQuestionTabs().
assQuestionGUI::setEditContext | ( | string | $editContext | ) |
Definition at line 329 of file class.assQuestionGUI.php.
References $editContext.
Referenced by setAdjustmentEditContext().
assQuestionGUI::setErrorMessage | ( | string | $errormessage | ) |
Definition at line 944 of file class.assQuestionGUI.php.
References $errormessage.
Referenced by assErrorTextGUI\__construct(), assOrderingHorizontalGUI\__construct(), assMatchingQuestionGUI\__construct(), and assFileUploadGUI\__construct().
assQuestionGUI::setNavigationGUI | ( | ?ilTestQuestionNavigationGUI | $navigationGUI | ) |
Definition at line 354 of file class.assQuestionGUI.php.
References $navigationGUI.
Referenced by ilTestPlayerAbstractGUI\populateInstantResponseModal(), ilTestPlayerAbstractGUI\showQuestionEditable(), and ilTestPlayerAbstractGUI\showQuestionViewable().
assQuestionGUI::setPresentationContext | ( | string | $presentationContext | ) |
Definition at line 254 of file class.assQuestionGUI.php.
References $presentationContext.
assQuestionGUI::setPreviewSession | ( | ilAssQuestionPreviewSession | $previewSession | ) |
assQuestionGUI::setPreviousSolutionPrefilled | ( | bool | $previousSolutionPrefilled | ) |
Definition at line 270 of file class.assQuestionGUI.php.
References $previousSolutionPrefilled.
assQuestionGUI::setQuestionActionCmd | ( | string | $questionActionCmd | ) |
assQuestionGUI::setQuestionCount | ( | int | $a_question_count | ) |
Definition at line 929 of file class.assQuestionGUI.php.
assQuestionGUI::setQuestionHeaderBlockBuilder | ( | \ilQuestionHeaderBlockBuilder | $questionHeaderBlockBuilder | ) |
Definition at line 384 of file class.assQuestionGUI.php.
References $questionHeaderBlockBuilder.
|
protected |
Definition at line 1753 of file class.assQuestionGUI.php.
Referenced by setQuestionTabs().
assQuestionGUI::setQuestionTabs | ( | ) |
Definition at line 1717 of file class.assQuestionGUI.php.
References addBackTab(), setDefaultTabs(), and setQuestionSpecificTabs().
assQuestionGUI::setRenderPurpose | ( | string | $renderPurpose | ) |
Definition at line 281 of file class.assQuestionGUI.php.
References $renderPurpose.
Referenced by suggestedsolution().
assQuestionGUI::setSequenceNumber | ( | int | $nr | ) |
Definition at line 919 of file class.assQuestionGUI.php.
assQuestionGUI::setTargetGui | ( | $linkTargetGui | ) |
Definition at line 369 of file class.assQuestionGUI.php.
References setTargetGuiClass().
assQuestionGUI::setTargetGuiClass | ( | $targetGuiClass | ) |
Definition at line 374 of file class.assQuestionGUI.php.
References $targetGuiClass.
Referenced by setTargetGui().
assQuestionGUI::setTaxonomyIds | ( | array | $taxonomyIds | ) |
assQuestionGUI::showHints | ( | ) |
Definition at line 1964 of file class.assQuestionGUI.php.
References ilAssQuestionHintsGUI\CMD_SHOW_LIST, and ILIAS\Repository\ctrl().
assQuestionGUI::suggestedsolution | ( | ) |
Definition at line 1210 of file class.assQuestionGUI.php.
References $access, $ilUser, $res, assQuestion\_getInternalLinkHref(), assQuestion\_isWriteable(), ilRadioGroupInputGUI\addOption(), ILIAS\Repository\ctrl(), ilObject\getId(), getRenderPurpose(), getSolutionOutput(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ilFileUtils\makeDirParents(), ilFileUtils\moveUploadedFile(), ILIAS\Repository\object(), originalSyncForm(), ilLegacyFormElementsUtil\prepareFormOutput(), ilFileUtils\renameExecutables(), ilCustomInputGUI\setHtml(), setRenderPurpose(), ilFormPropertyGUI\setRequired(), and ilTextAreaInputGUI\setValue().
Referenced by executeCommand(), and saveSuggestedSolutionType().
assQuestionGUI::sync | ( | ) |
Definition at line 618 of file class.assQuestionGUI.php.
References $ref_id, ilLink\_getLink(), ilAssQuestionPreviewGUI\CMD_SHOW, ILIAS\Repository\ctrl(), ilObjectFactory\getInstanceByRefId(), ilTestExpressPage\getReturnToPageLink(), ILIAS\Repository\int(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
|
protected |
Evaluates a posted edit form and writes the form data in the question object.
Definition at line 414 of file class.assQuestionGUI.php.
Referenced by apply(), save(), saveEdit(), and saveReturn().
|
protected |
Definition at line 1858 of file class.assQuestionGUI.php.
References Vendor\Package\$e, ilAssQuestionLifecycle\getInstance(), getPreview(), ILIAS\Repository\object(), and ilUtil\stripOnlySlashes().
Referenced by assOrderingQuestionGUI\uploadElementImage(), assErrorTextGUI\writePostData(), assMatchingQuestionGUI\writePostData(), assTextQuestionGUI\writePostData(), assTextSubsetGUI\writePostData(), assOrderingHorizontalGUI\writePostData(), assFileUploadGUI\writePostData(), assSingleChoiceGUI\writePostData(), assNumericGUI\writePostData(), assMultipleChoiceGUI\writePostData(), assLongMenuGUI\writePostData(), assImagemapQuestionGUI\writePostData(), assKprimChoiceGUI\writePostData(), assClozeTestGUI\writePostData(), and assOrderingQuestionGUI\writePostData().
|
private |
Definition at line 60 of file class.assQuestionGUI.php.
Referenced by suggestedsolution().
|
private |
Definition at line 66 of file class.assQuestionGUI.php.
Referenced by save(), saveReturn(), and assFormulaQuestionGUI\saveReturnFQ().
|
protected |
Definition at line 70 of file class.assQuestionGUI.php.
|
private |
Definition at line 116 of file class.assQuestionGUI.php.
Referenced by getEditContext(), and setEditContext().
|
protected |
Definition at line 120 of file class.assQuestionGUI.php.
Referenced by buildEditForm().
assQuestionGUI::$error |
Definition at line 81 of file class.assQuestionGUI.php.
string assQuestionGUI::$errormessage |
Definition at line 82 of file class.assQuestionGUI.php.
Referenced by addErrorMessage(), getErrorMessage(), and setErrorMessage().
|
private |
Definition at line 65 of file class.assQuestionGUI.php.
Referenced by save(), saveReturn(), and assFormulaQuestionGUI\saveReturnFQ().
|
private |
Definition at line 59 of file class.assQuestionGUI.php.
|
private |
Definition at line 58 of file class.assQuestionGUI.php.
|
private |
Definition at line 62 of file class.assQuestionGUI.php.
Referenced by save(), and saveReturn().
|
private |
Definition at line 61 of file class.assQuestionGUI.php.
Referenced by assFormulaQuestionGUI\resetSavedPreviewSession(), save(), saveEdit(), saveReturn(), assFormulaQuestionGUI\saveReturnFQ(), and suggestedsolution().
ilLanguage assQuestionGUI::$lng |
Definition at line 79 of file class.assQuestionGUI.php.
Referenced by assLongMenuGUI\__construct().
|
private |
Definition at line 98 of file class.assQuestionGUI.php.
Referenced by getNavigationGUI(), and setNavigationGUI().
|
private |
Definition at line 72 of file class.assQuestionGUI.php.
Referenced by addNewIdListener(), and callNewIdListeners().
|
private |
Definition at line 71 of file class.assQuestionGUI.php.
|
protected |
Definition at line 68 of file class.assQuestionGUI.php.
assQuestion assQuestionGUI::$object |
Definition at line 77 of file class.assQuestionGUI.php.
Referenced by assFormulaQuestionGUI\isSaveCommand().
|
private |
Definition at line 103 of file class.assQuestionGUI.php.
Referenced by getPresentationContext(), and setPresentationContext().
|
private |
Definition at line 75 of file class.assQuestionGUI.php.
Referenced by getPreviewSession(), and setPreviewSession().
|
private |
Definition at line 118 of file class.assQuestionGUI.php.
Referenced by isPreviousSolutionPrefilled(), and setPreviousSolutionPrefilled().
int assQuestionGUI::$question_count |
question count in test
Definition at line 88 of file class.assQuestionGUI.php.
Referenced by getQuestionCount().
|
private |
Definition at line 94 of file class.assQuestionGUI.php.
Referenced by getQuestionActionCmd(), and setQuestionActionCmd().
|
private |
Definition at line 96 of file class.assQuestionGUI.php.
Referenced by getQuestionHeaderBlockBuilder(), and setQuestionHeaderBlockBuilder().
|
private |
Definition at line 111 of file class.assQuestionGUI.php.
Referenced by getRenderPurpose(), and setRenderPurpose().
|
protected |
Definition at line 121 of file class.assQuestionGUI.php.
int assQuestionGUI::$sequence_no |
sequence number in test
Definition at line 85 of file class.assQuestionGUI.php.
Referenced by getSequenceNumber().
|
private |
Definition at line 92 of file class.assQuestionGUI.php.
Referenced by getTargetGuiClass(), and setTargetGuiClass().
|
private |
Definition at line 90 of file class.assQuestionGUI.php.
Referenced by getTaxonomyIds(), and setTaxonomyIds().
ilGlobalPageTemplate assQuestionGUI::$tpl |
Definition at line 78 of file class.assQuestionGUI.php.
Referenced by assLongMenuGUI\getAggregatedAnswersView(), assTextQuestionGUI\getBestAnswer(), assTextQuestionGUI\getJsCode(), assImagemapQuestionGUI\getPreviousSolutionConfirmationCheckboxHtml(), assLongMenuGUI\getSelectGapTemplate(), assLongMenuGUI\getTextGapTemplate(), assMultipleChoiceGUI\getUseUnchangedAnswerCheckboxHtml(), assLongMenuGUI\populateQuestionSpecificFormPart(), assClozeTestGUI\populateQuestionSpecificFormPart(), assTextSubsetGUI\renderAggregateView(), assNumericGUI\renderAggregateView(), assOrderingHorizontalGUI\renderAggregateView(), assOrderingQuestionGUI\renderAggregateView(), assSingleChoiceGUI\renderAggregateView(), assImagemapQuestionGUI\renderAggregateView(), assKprimChoiceGUI\renderAggregateView(), and assMultipleChoiceGUI\renderAggregateView().
|
private |
Definition at line 64 of file class.assQuestionGUI.php.
Referenced by outPageSelector(), outSolutionExplorer(), save(), saveEdit(), saveReturn(), assFormulaQuestionGUI\saveReturnFQ(), and saveSuggestedSolutionType().
|
private |
Definition at line 57 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 54 of file class.assQuestionGUI.php.
Referenced by ilKprimChoiceWizardInputGUI\cleanupAnswerText().
const assQuestionGUI::CORRECTNESS_MOSTLY_OK = 1 |
Definition at line 44 of file class.assQuestionGUI.php.
const assQuestionGUI::CORRECTNESS_NOT_OK = 0 |
Definition at line 43 of file class.assQuestionGUI.php.
const assQuestionGUI::CORRECTNESS_OK = 2 |
Definition at line 45 of file class.assQuestionGUI.php.
const assQuestionGUI::EDIT_CONTEXT_ADJUSTMENT = 'adjustment' |
Definition at line 114 of file class.assQuestionGUI.php.
const assQuestionGUI::EDIT_CONTEXT_AUTHORING = 'authoring' |
Definition at line 113 of file class.assQuestionGUI.php.
Referenced by ilObjTestGUI\executeCommand(), and ilObjQuestionPoolGUI\getQueryParamInt().
const assQuestionGUI::FORM_ENCODING_MULTIPART = 'multipart/form-data' |
Definition at line 35 of file class.assQuestionGUI.php.
const assQuestionGUI::FORM_ENCODING_URLENCODE = 'application/x-www-form-urlencoded' |
Definition at line 34 of file class.assQuestionGUI.php.
const assQuestionGUI::FORM_MODE_ADJUST = 'adjust' |
Definition at line 32 of file class.assQuestionGUI.php.
const assQuestionGUI::FORM_MODE_EDIT = 'edit' |
Definition at line 31 of file class.assQuestionGUI.php.
|
protected |
Definition at line 47 of file class.assQuestionGUI.php.
const assQuestionGUI::PRESENTATION_CONTEXT_RESULTS = 'pContextResults' |
Definition at line 101 of file class.assQuestionGUI.php.
const assQuestionGUI::PRESENTATION_CONTEXT_TEST = 'pContextTest' |
Definition at line 100 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\getQuestionGuiInstance(), and ilObjTestGUI\printobject().
const assQuestionGUI::RENDER_PURPOSE_DEMOPLAY = 'renderPurposeDemoplay' |
Definition at line 106 of file class.assQuestionGUI.php.
Referenced by ilAssQuestionPreviewGUI\initQuestion().
const assQuestionGUI::RENDER_PURPOSE_INPUT_VALUE = 'renderPurposeInputValue' |
Definition at line 109 of file class.assQuestionGUI.php.
const assQuestionGUI::RENDER_PURPOSE_PLAYBACK = 'renderPurposePlayback' |
Definition at line 105 of file class.assQuestionGUI.php.
const assQuestionGUI::RENDER_PURPOSE_PREVIEW = 'renderPurposePreview' |
Definition at line 107 of file class.assQuestionGUI.php.
Referenced by ilObjTestGUI\executeCommand(), ilQuestionPoolPrintViewTableGUI\fillRow(), ilAssQuestionPageCommandForwarder\forward(), ilObjQuestionPoolGUI\getQueryParamInt(), and ilObjTestGUI\reviewobject().
const assQuestionGUI::RENDER_PURPOSE_PRINT_PDF = 'renderPurposePrintPdf' |
Definition at line 108 of file class.assQuestionGUI.php.
Referenced by ilTestServiceGUI\getCorrectSolutionOutput(), ilTestServiceGUI\getPassListOfAnswers(), ilTestServiceGUI\getQuestionResultForTestUsers(), and ilObjTestGUI\printobject().
const assQuestionGUI::SESSION_PREVIEW_DATA_BASE_INDEX = 'ilAssQuestionPreviewAnswers' |
Definition at line 56 of file class.assQuestionGUI.php.
|
protected |
Definition at line 37 of file class.assQuestionGUI.php.