| ILIAS
    release_5-2 Revision v5.2.25-18-g3f80b828510
    | 
Basic GUI class for assessment questions. More...
 Inheritance diagram for assQuestionGUI:
 Inheritance diagram for assQuestionGUI: Collaboration diagram for assQuestionGUI:
 Collaboration diagram for assQuestionGUI:| Public Member Functions | |
| __construct () | |
| assQuestionGUI constructor  More... | |
| executeCommand () | |
| execute command  More... | |
| getCommand ($cmd) | |
| getType () | |
| needed for page editor compliance  More... | |
| getPresentationContext () | |
| setPresentationContext ($presentationContext) | |
| isTestPresentationContext () | |
| getRenderPurpose () | |
| setRenderPurpose ($renderPurpose) | |
| isRenderPurposePrintPdf () | |
| isRenderPurposePreview () | |
| isRenderPurposeInputValue () | |
| isRenderPurposePlayback () | |
| isRenderPurposeDemoplay () | |
| renderPurposeSupportsFormHtml () | |
| getEditContext () | |
| setEditContext ($editContext) | |
| isAuthoringEditContext () | |
| isAdjustmentEditContext () | |
| setAdjustmentEditContext () | |
| getNavigationGUI () | |
| setNavigationGUI ($navigationGUI) | |
| setTaxonomyIds ($taxonomyIds) | |
| getTaxonomyIds () | |
| setTargetGui ($linkTargetGui) | |
| setTargetGuiClass ($targetGuiClass) | |
| getTargetGuiClass () | |
| setQuestionHeaderBlockBuilder ($questionHeaderBlockBuilder) | |
| getQuestionHeaderBlockBuilder () | |
| setQuestionActionCmd ($questionActionCmd) | |
| getQuestionActionCmd () | |
| & | createQuestionGUI ($question_type, $question_id=-1) | 
| Creates a question gui representation.  More... | |
| populateJavascriptFilesRequiredForWorkForm (ilTemplate $tpl) | |
| getQuestionTemplate () | |
| get question template  More... | |
| getILIASPage ($html="") | |
| Returns the ILIAS Page around a question.  More... | |
| outQuestionPage ($a_temp_var, $a_postponed=false, $active_id="", $html="") | |
| output question page  More... | |
| cancel () | |
| cancel action  More... | |
| originalSyncForm ($return_to="", $return_to_feedback='') | |
| sync () | |
| cancelSync () | |
| saveEdit () | |
| save question  More... | |
| save () | |
| save question  More... | |
| saveReturn () | |
| save question  More... | |
| apply () | |
| apply changes  More... | |
| getContextPath ($cont_obj, $a_endnode_id, $a_startnode_id=1) | |
| get context path in content object tree  More... | |
| setSequenceNumber ($nr) | |
| getSequenceNumber () | |
| setQuestionCount ($a_question_count) | |
| getQuestionCount () | |
| getErrorMessage () | |
| setErrorMessage ($errormessage) | |
| addErrorMessage ($errormessage) | |
| outAdditionalOutput () | |
| getQuestionType () | |
| Returns the question type string.  More... | |
| getAsValueAttribute ($a_value) | |
| Returns a HTML value attribute.  More... | |
| addNewIdListener (&$a_object, $a_method, $a_parameters="") | |
| Add a listener that is notified with the new question ID, when a new question is saved.  More... | |
| callNewIdListeners ($a_new_id) | |
| Call the new id listeners.  More... | |
| addQuestionFormCommandButtons ($form) | |
| Add the command buttons of a question properties form.  More... | |
| addBasicQuestionFormProperties ($form) | |
| Add basic question form properties: assessment: title, author, description, question, working time.  More... | |
| getAnswerFeedbackOutput ($active_id, $pass) | |
| Returns the answer generic feedback depending on the results of the question.  More... | |
| getGenericFeedbackOutput ($active_id, $pass) | |
| Returns the answer specific feedback for the question.  More... | |
| getGenericFeedbackOutputForCorrectSolution () | |
| getGenericFeedbackOutputForIncorrectSolution () | |
| getSpecificFeedbackOutput ($active_id, $pass) | |
| Returns the answer specific feedback for the question.  More... | |
| outQuestionType () | |
| showSuggestedSolution () | |
| suggestedsolution () | |
| Allows to add suggested solutions for questions.  More... | |
| outSolutionExplorer () | |
| saveSuggestedSolution () | |
| cancelExplorer () | |
| outPageSelector () | |
| outChapterSelector () | |
| outGlossarySelector () | |
| linkChilds () | |
| addPG () | |
| addST () | |
| addGIT () | |
| isSaveCommand () | |
| setQuestionTabs () | |
| addTab_SuggestedSolution (ilTabsGUI $tabs, $classname) | |
| getEditQuestionTabCommands () | |
| getSolutionOutput ( $active_id, $pass=NULL, $graphicalOutput=FALSE, $result_output=FALSE, $show_question_only=TRUE, $show_feedback=FALSE, $show_correct_solution=FALSE, $show_manual_scoring=FALSE, $show_question_text=TRUE) | |
| isAutosaveable () | |
| getPreview ($show_question_only=FALSE, $showInlineFeedback=false) | |
| outQuestionForTest ( $formaction, $active_id, $pass, $is_question_postponed=FALSE, $user_post_solutions=FALSE, $show_specific_inline_feedback=FALSE) | |
| magicAfterTestOutput () | |
| getTestOutput ( $active_id, $pass, $is_question_postponed, $user_post_solutions, $show_specific_inline_feedback) | |
| getFormEncodingType () | |
| setPreviewSession ($previewSession) | |
| getPreviewSession () | |
| showHints () | |
| Static Public Member Functions | |
| static | _getQuestionGUI ($question_type, $question_id=-1) | 
| Creates a question gui representation and returns the alias to the question gui note: please do not use $this inside this method to allow static calls.  More... | |
| static | _getGUIClassNameForId ($a_q_id) | 
| static | _getClassNameForQType ($q_type) | 
| static | getCommandsFromClassConstants ($guiClassName, $cmdConstantNameBegin='CMD_') | 
| extracts values of all constants of given class with given prefix as array can be used to get all possible commands in case of these commands are defined as constants  More... | |
| Data Fields | |
| const | FORM_MODE_EDIT = 'edit' | 
| const | FORM_MODE_ADJUST = 'adjust' | 
| const | FORM_ENCODING_URLENCODE = 'application/x-www-form-urlencoded' | 
| const | FORM_ENCODING_MULTIPART = 'multipart/form-data' | 
| const | SESSION_PREVIEW_DATA_BASE_INDEX = 'ilAssQuestionPreviewAnswers' | 
| $object | |
| $tpl | |
| $lng | |
| $error | |
| $errormessage | |
| $sequence_no | |
| sequence number in test  More... | |
| $question_count | |
| question count in test  More... | |
| const | PRESENTATION_CONTEXT_TEST = 'pContextTest' | 
| const | PRESENTATION_CONTEXT_RESULTS = 'pContextResults' | 
| const | RENDER_PURPOSE_PLAYBACK = 'renderPurposePlayback' | 
| const | RENDER_PURPOSE_DEMOPLAY = 'renderPurposeDemoplay' | 
| const | RENDER_PURPOSE_PREVIEW = 'renderPurposePreview' | 
| const | RENDER_PURPOSE_PRINT_PDF = 'renderPurposePrintPdf' | 
| const | RENDER_PURPOSE_INPUT_VALUE = 'renderPurposeInputValue' | 
| const | EDIT_CONTEXT_AUTHORING = 'authoring' | 
| const | EDIT_CONTEXT_ADJUSTMENT = 'adjustment' | 
| Protected Member Functions | |
| writePostData ($always=false) | |
| Evaluates a posted edit form and writes the form data in the question object.  More... | |
| renderEditForm ($form) | |
| getPreviousSolutionProvidedMessage () | |
| getPreviousSolutionConfirmationCheckboxHtml () | |
| saveTaxonomyAssignments () | |
| populateTaxonomyFormSection (ilPropertyFormGUI $form) | |
| getBasicEditQuestionTabCommands () | |
| getAdditionalEditQuestionCommands () | |
| addTab_QuestionFeedback (ilTabsGUI $tabs) | |
| adds the feedback tab to ilTabsGUI  More... | |
| addTab_QuestionHints (ilTabsGUI $tabs) | |
| adds the hints tab to ilTabsGUI  More... | |
| addTab_QuestionPreview (ilTabsGUI $tabsGUI) | |
| hasCorrectSolution ($activeId, $passIndex) | |
| writeQuestionGenericPostData () | |
| completeTestOutputFormAction ($formAction, $active_id, $pass) | |
| addBackTab (ilTabsGUI $ilTabs) | |
| buildBasicEditFormObject () | |
| buildEditForm () | |
| Protected Attributes | |
| $editForm | |
| Private Member Functions | |
| getUseUnchangedAnswerCheckboxHtml () | |
| Private Attributes | |
| $taxonomyIds = array() | |
| $targetGuiClass = null | |
| $questionActionCmd = 'handleQuestionAction' | |
| $questionHeaderBlockBuilder | |
| $navigationGUI | |
| $presentationContext = null | |
| $renderPurpose = self::RENDER_PURPOSE_PLAYBACK | |
| $editContext = self::EDIT_CONTEXT_AUTHORING | |
| $previewSession | |
Basic GUI class for assessment questions.
The assQuestionGUI class encapsulates basic GUI functions for assessment questions.
Definition at line 20 of file class.assQuestionGUI.php.
| assQuestionGUI::__construct | ( | ) | 
assQuestionGUI constructor
Definition at line 104 of file class.assQuestionGUI.php.
| 
 | static | 
Definition at line 449 of file class.assQuestionGUI.php.
Referenced by _getGUIClassNameForId().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 437 of file class.assQuestionGUI.php.
References _getClassNameForQType(), and assQuestion\getQuestionTypeFromDb().
Referenced by ilQuestionBrowserTableGUI\fillRow().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Creates a question gui representation and returns the alias to the question gui note: please do not use $this inside this method to allow static calls.
| string | $question_type | The question type as it is used in the language database | 
| integer | $question_id | The database ID of an existing question to load it into assQuestionGUI | 
Definition at line 405 of file class.assQuestionGUI.php.
References $ilCtrl, $ilDB, $lng, assQuestion\_includeClass(), assQuestion\getFeedbackClassNameByQuestionType(), assQuestion\getGuiClassNameByQuestionType(), and assQuestion\getQuestionTypeFromDb().
Referenced by ilObjQuestionPoolGUI\addLocatorItems(), ilTestExpressPageObjectGUI\addPageOfQuestions(), ilObjQuestionPoolGUI\createQuestionForTestObject(), createQuestionGUI(), ilObjQuestionPoolGUI\createQuestionObject(), ilPCQuestionGUI\edit(), ilObjQuestionPoolGUI\editQuestionForTestObject(), ilObjTestGUI\executeCommand(), ilTestExpressPageObjectGUI\executeCommand(), ilObjQuestionPoolGUI\executeCommand(), ilQuestionEditGUI\executeCommand(), ilPageObjectGUI\executeCommand(), ilSCORM2004Asset\exportHTMLPageObjects(), ilQuestionExporter\exportQuestion(), ilObjAssessmentFolder\fetchScoringAdjustableTypes(), ilSCORM2004PageGUI\getQuestionHtmlOfPage(), ilTestExpressPageObjectGUI\handleToolbarCommand(), ilPCQuestion\modifyPageContentPostXsl(), ilAssQuestionSkillAssignmentsGUI\saveSkillQuestionAssignmentPropertiesFormCmd(), ilObjQuestionPoolGUI\setTitleAndDescription(), and ilAssQuestionSkillAssignmentsGUI\showSkillQuestionAssignmentPropertiesFormCmd().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
| ilTabsGUI | $ilTabs | 
Definition at line 2232 of file class.assQuestionGUI.php.
References $_GET, $GLOBALS, $ref_id, ilLink\_getLink(), ilObjectFactory\getInstanceByRefId(), ilTestExpressPage\getReturnToPageLink(), and ilTabsGUI\setBackTarget().
Referenced by assClozeTestGUI\setQuestionTabs(), assErrorTextGUI\setQuestionTabs(), assFlashQuestionGUI\setQuestionTabs(), assFormulaQuestionGUI\setQuestionTabs(), assImagemapQuestionGUI\setQuestionTabs(), assJavaAppletGUI\setQuestionTabs(), assLongMenuGUI\setQuestionTabs(), assMatchingQuestionGUI\setQuestionTabs(), assMultipleChoiceGUI\setQuestionTabs(), assOrderingHorizontalGUI\setQuestionTabs(), assOrderingQuestionGUI\setQuestionTabs(), setQuestionTabs(), assSingleChoiceGUI\setQuestionTabs(), assTextQuestionGUI\setQuestionTabs(), and assTextSubsetGUI\setQuestionTabs().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::addBasicQuestionFormProperties | ( | $form | ) | 
Add basic question form properties: assessment: title, author, description, question, working time.
Reimplemented in assClozeTestGUI, and assMultipleChoiceGUI.
Definition at line 1156 of file class.assQuestionGUI.php.
References $duration, $title, ilObjAdvancedEditing\_getUsedHTMLTags(), assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_PAGE_OBJECT, ilAssSelfAssessmentQuestionFormatter\getSelfAssessmentTags(), and ilUtil\prepareFormOutput().
Referenced by assImagemapQuestionGUI\buildEditForm(), assKprimChoiceGUI\buildEditForm(), assLongMenuGUI\buildEditForm(), assOrderingQuestionGUI\buildEditForm(), assErrorTextGUI\editQuestion(), assFileUploadGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assNumericGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assTextQuestionGUI\editQuestion(), and assTextSubsetGUI\editQuestion().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::addErrorMessage | ( | $errormessage | ) | 
Definition at line 1064 of file class.assQuestionGUI.php.
References $errormessage.
Referenced by assFormulaQuestionGUI\checkInput(), and assFormulaQuestionGUI\writePostData().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::addGIT | ( | ) | 
Definition at line 1904 of file class.assQuestionGUI.php.
References $_GET, and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| assQuestionGUI::addNewIdListener | ( | & | $a_object, | 
| $a_method, | |||
| $a_parameters = "" | |||
| ) | 
Add a listener that is notified with the new question ID, when a new question is saved.
Definition at line 1108 of file class.assQuestionGUI.php.
| assQuestionGUI::addPG | ( | ) | 
Definition at line 1880 of file class.assQuestionGUI.php.
References $_GET, and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| assQuestionGUI::addQuestionFormCommandButtons | ( | $form | ) | 
Add the command buttons of a question properties form.
Definition at line 1140 of file class.assQuestionGUI.php.
Referenced by assImagemapQuestionGUI\buildEditForm(), assKprimChoiceGUI\buildEditForm(), assLongMenuGUI\buildEditForm(), assMultipleChoiceGUI\buildEditForm(), assClozeTestGUI\editQuestion(), assErrorTextGUI\editQuestion(), assFileUploadGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assNumericGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assTextQuestionGUI\editQuestion(), and assTextSubsetGUI\editQuestion().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::addST | ( | ) | 
Definition at line 1892 of file class.assQuestionGUI.php.
References $_GET, and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
adds the feedback tab to ilTabsGUI
@global ilCtrl $ilCtrl
| ilTabsGUI | $tabs | 
Definition at line 2051 of file class.assQuestionGUI.php.
References $ilCtrl, ilTabsGUI\addTarget(), ilAssQuestionFeedbackEditingGUI\CMD_SHOW, and getCommandsFromClassConstants().
Referenced by assClozeTestGUI\setQuestionTabs(), assErrorTextGUI\setQuestionTabs(), assFileUploadGUI\setQuestionTabs(), assFlashQuestionGUI\setQuestionTabs(), assFormulaQuestionGUI\setQuestionTabs(), assImagemapQuestionGUI\setQuestionTabs(), assJavaAppletGUI\setQuestionTabs(), assLongMenuGUI\setQuestionTabs(), assMatchingQuestionGUI\setQuestionTabs(), assMultipleChoiceGUI\setQuestionTabs(), assOrderingHorizontalGUI\setQuestionTabs(), assOrderingQuestionGUI\setQuestionTabs(), setQuestionTabs(), assSingleChoiceGUI\setQuestionTabs(), assTextQuestionGUI\setQuestionTabs(), and assTextSubsetGUI\setQuestionTabs().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
adds the hints tab to ilTabsGUI
@global ilCtrl $ilCtrl
| ilTabsGUI | $tabs | 
Definition at line 2082 of file class.assQuestionGUI.php.
References $ilCtrl, ilTabsGUI\addTarget(), ilAssQuestionHintsGUI\CMD_SHOW_LIST, and getCommandsFromClassConstants().
Referenced by assClozeTestGUI\setQuestionTabs(), assErrorTextGUI\setQuestionTabs(), assFileUploadGUI\setQuestionTabs(), assFlashQuestionGUI\setQuestionTabs(), assFormulaQuestionGUI\setQuestionTabs(), assImagemapQuestionGUI\setQuestionTabs(), assJavaAppletGUI\setQuestionTabs(), assLongMenuGUI\setQuestionTabs(), assMatchingQuestionGUI\setQuestionTabs(), assMultipleChoiceGUI\setQuestionTabs(), assOrderingHorizontalGUI\setQuestionTabs(), assOrderingQuestionGUI\setQuestionTabs(), setQuestionTabs(), assSingleChoiceGUI\setQuestionTabs(), assTextQuestionGUI\setQuestionTabs(), and assTextSubsetGUI\setQuestionTabs().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 2111 of file class.assQuestionGUI.php.
References ilTabsGUI\addTarget(), ilAssQuestionPreviewGUI\CMD_SHOW, and ilAssQuestionPreviewGUI\TAB_ID_QUESTION_PREVIEW.
Referenced by assClozeTestGUI\setQuestionTabs(), assErrorTextGUI\setQuestionTabs(), assFileUploadGUI\setQuestionTabs(), assFlashQuestionGUI\setQuestionTabs(), assFormulaQuestionGUI\setQuestionTabs(), assImagemapQuestionGUI\setQuestionTabs(), assJavaAppletGUI\setQuestionTabs(), assLongMenuGUI\setQuestionTabs(), assMatchingQuestionGUI\setQuestionTabs(), assMultipleChoiceGUI\setQuestionTabs(), assOrderingHorizontalGUI\setQuestionTabs(), assOrderingQuestionGUI\setQuestionTabs(), setQuestionTabs(), assSingleChoiceGUI\setQuestionTabs(), assTextQuestionGUI\setQuestionTabs(), and assTextSubsetGUI\setQuestionTabs().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::addTab_SuggestedSolution | ( | ilTabsGUI | $tabs, | 
| $classname | |||
| ) | 
Definition at line 2015 of file class.assQuestionGUI.php.
References $_GET, and ilTabsGUI\addTarget().
Referenced by assClozeTestGUI\setQuestionTabs(), assErrorTextGUI\setQuestionTabs(), assFileUploadGUI\setQuestionTabs(), assFlashQuestionGUI\setQuestionTabs(), assImagemapQuestionGUI\setQuestionTabs(), assJavaAppletGUI\setQuestionTabs(), assLongMenuGUI\setQuestionTabs(), assMatchingQuestionGUI\setQuestionTabs(), assMultipleChoiceGUI\setQuestionTabs(), assOrderingHorizontalGUI\setQuestionTabs(), assOrderingQuestionGUI\setQuestionTabs(), setQuestionTabs(), assSingleChoiceGUI\setQuestionTabs(), assTextQuestionGUI\setQuestionTabs(), and assTextSubsetGUI\setQuestionTabs().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::apply | ( | ) | 
apply changes
Definition at line 1000 of file class.assQuestionGUI.php.
References writePostData().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Definition at line 2293 of file class.assQuestionGUI.php.
References getType(), and outQuestionType().
Referenced by assImagemapQuestionGUI\buildEditForm(), assKprimChoiceGUI\buildEditForm(), and assLongMenuGUI\buildEditForm().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Reimplemented in assImagemapQuestionGUI, assKprimChoiceGUI, assLongMenuGUI, assMultipleChoiceGUI, and assOrderingQuestionGUI.
Definition at line 2319 of file class.assQuestionGUI.php.
References $editForm, and $errors.
Referenced by executeCommand().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::callNewIdListeners | ( | $a_new_id | ) | 
Call the new id listeners.
Definition at line 1120 of file class.assQuestionGUI.php.
References $object.
Referenced by save(), saveReturn(), and assFormulaQuestionGUI\saveReturnFQ().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::cancel | ( | ) | 
cancel action
Definition at line 607 of file class.assQuestionGUI.php.
References $_GET, and ilUtil\redirect().
 Here is the call graph for this function:
 Here is the call graph for this function:| assQuestionGUI::cancelExplorer | ( | ) | 
Definition at line 1720 of file class.assQuestionGUI.php.
| assQuestionGUI::cancelSync | ( | ) | 
Definition at line 702 of file class.assQuestionGUI.php.
References $_GET, $ref_id, ilLink\_getLink(), ilObjectFactory\getInstanceByRefId(), ilTestExpressPage\getReturnToPageLink(), and ilUtil\redirect().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Reimplemented in assImagemapQuestionGUI.
Definition at line 2205 of file class.assQuestionGUI.php.
Referenced by outQuestionForTest().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| & assQuestionGUI::createQuestionGUI | ( | $question_type, | |
| $question_id = -1 | |||
| ) | 
Creates a question gui representation.
Creates a question gui representation and returns the alias to the question gui
| string | $question_type | The question type as it is used in the language database | 
| integer | $question_id | The database ID of an existing question to load it into assQuestionGUI | 
Definition at line 466 of file class.assQuestionGUI.php.
References _getQuestionGUI().
 Here is the call graph for this function:
 Here is the call graph for this function:| assQuestionGUI::executeCommand | ( | ) | 
execute command
Definition at line 136 of file class.assQuestionGUI.php.
References $_GET, $cmd, $DIC, $ret, buildEditForm(), getCommand(), and ilUtil\stripSlashes().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Reimplemented in assKprimChoiceGUI.
Definition at line 2040 of file class.assQuestionGUI.php.
Referenced by getEditQuestionTabCommands().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::getAnswerFeedbackOutput | ( | $active_id, | |
| $pass | |||
| ) | 
Returns the answer generic feedback depending on the results of the question.
| integer | $active_id | Active ID of the user | 
| integer | $pass | Active pass | 
Reimplemented in assClozeTestGUI.
Definition at line 1317 of file class.assQuestionGUI.php.
References $pass, and getGenericFeedbackOutput().
Referenced by assFileUploadGUI\getSolutionOutput(), assImagemapQuestionGUI\getSolutionOutput(), assJavaAppletGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), and assTextSubsetGUI\getSolutionOutput().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::getAsValueAttribute | ( | $a_value | ) | 
Returns a HTML value attribute.
| mixed | $a_value | A given text or value | 
Definition at line 1093 of file class.assQuestionGUI.php.
References $result.
| 
 | protected | 
Definition at line 2035 of file class.assQuestionGUI.php.
Referenced by getEditQuestionTabCommands().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::getCommand | ( | $cmd | ) | 
Reimplemented in assClozeTestGUI, assFlashQuestionGUI, assFormulaQuestionGUI, assImagemapQuestionGUI, assJavaAppletGUI, assLongMenuGUI, assNumericGUI, and assOrderingHorizontalGUI.
Definition at line 165 of file class.assQuestionGUI.php.
References $cmd.
Referenced by executeCommand().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
extracts values of all constants of given class with given prefix as array can be used to get all possible commands in case of these commands are defined as constants
| string | $guiClassName | |
| string | $cmdConstantNameBegin | 
Definition at line 1929 of file class.assQuestionGUI.php.
Referenced by addTab_QuestionFeedback(), addTab_QuestionHints(), and ilPCQuestionGUI\setTabs().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::getContextPath | ( | $cont_obj, | |
| $a_endnode_id, | |||
| $a_startnode_id = 1 | |||
| ) | 
get context path in content object tree
| int | $a_endnode_id | id of endnode | 
| int | $a_startnode_id | id of startnode | 
Definition at line 1014 of file class.assQuestionGUI.php.
References $path.
Referenced by outPageSelector().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::getEditContext | ( | ) | 
Definition at line 258 of file class.assQuestionGUI.php.
References $editContext.
Referenced by isAdjustmentEditContext(), and isAuthoringEditContext().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | final | 
Definition at line 2030 of file class.assQuestionGUI.php.
References getAdditionalEditQuestionCommands(), and getBasicEditQuestionTabCommands().
Referenced by setQuestionTabs().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::getErrorMessage | ( | ) | 
Definition at line 1054 of file class.assQuestionGUI.php.
References $errormessage.
Referenced by assTextQuestionGUI\addSuggestedSolution(), assFlashQuestionGUI\suggestRange(), and assFormulaQuestionGUI\suggestRange().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::getFormEncodingType | ( | ) | 
Reimplemented in assFileUploadGUI.
Definition at line 2224 of file class.assQuestionGUI.php.
References FORM_ENCODING_URLENCODE.
Referenced by outQuestionForTest(), and ilTestPlayerAbstractGUI\showQuestionViewable().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::getGenericFeedbackOutput | ( | $active_id, | |
| $pass | |||
| ) | 
Returns the answer specific feedback for the question.
| integer | $active_id | Active ID of the user | 
| integer | $pass | Active pass | 
Definition at line 1331 of file class.assQuestionGUI.php.
References $output, $pass, and ilObjTest\getManualFeedback().
Referenced by getAnswerFeedbackOutput(), assOrderingQuestionGUI\getSolutionOutput(), assClozeTestGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assFormulaQuestionGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), assLongMenuGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assOrderingHorizontalGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), and ilTestPlayerAbstractGUI\populateGenericFeedbackBlock().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::getGenericFeedbackOutputForCorrectSolution | ( | ) | 
Definition at line 1358 of file class.assQuestionGUI.php.
| assQuestionGUI::getGenericFeedbackOutputForIncorrectSolution | ( | ) | 
Definition at line 1365 of file class.assQuestionGUI.php.
| assQuestionGUI::getILIASPage | ( | $html = "" | ) | 
Returns the ILIAS Page around a question.
Definition at line 514 of file class.assQuestionGUI.php.
References $html.
Referenced by assClozeTestGUI\getPreview(), assErrorTextGUI\getPreview(), assFileUploadGUI\getPreview(), assFlashQuestionGUI\getPreview(), assFormulaQuestionGUI\getPreview(), assImagemapQuestionGUI\getPreview(), assJavaAppletGUI\getPreview(), assKprimChoiceGUI\getPreview(), assLongMenuGUI\getPreview(), assMatchingQuestionGUI\getPreview(), assMultipleChoiceGUI\getPreview(), assNumericGUI\getPreview(), assOrderingHorizontalGUI\getPreview(), assOrderingQuestionGUI\getPreview(), assSingleChoiceGUI\getPreview(), assTextQuestionGUI\getPreview(), assTextSubsetGUI\getPreview(), assOrderingQuestionGUI\getSolutionOutput(), assClozeTestGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assFlashQuestionGUI\getSolutionOutput(), assFormulaQuestionGUI\getSolutionOutput(), assImagemapQuestionGUI\getSolutionOutput(), assJavaAppletGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), assLongMenuGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assOrderingHorizontalGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assTextSubsetGUI\getSolutionOutput(), assErrorTextGUI\getTestOutput(), assFileUploadGUI\getTestOutput(), and assOrderingHorizontalGUI\getTestOutput().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::getNavigationGUI | ( | ) | 
Definition at line 295 of file class.assQuestionGUI.php.
References $navigationGUI.
Referenced by outQuestionPage().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::getPresentationContext | ( | ) | 
Definition at line 181 of file class.assQuestionGUI.php.
References $presentationContext.
Referenced by isTestPresentationContext().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | abstract | 
Reimplemented in assClozeTestGUI, assErrorTextGUI, assFileUploadGUI, assFlashQuestionGUI, assFormulaQuestionGUI, assImagemapQuestionGUI, assJavaAppletGUI, assKprimChoiceGUI, assLongMenuGUI, assMatchingQuestionGUI, assMultipleChoiceGUI, assNumericGUI, assOrderingHorizontalGUI, assOrderingQuestionGUI, assSingleChoiceGUI, assTextQuestionGUI, and assTextSubsetGUI.
| assQuestionGUI::getPreviewSession | ( | ) | 
Definition at line 2285 of file class.assQuestionGUI.php.
References $previewSession.
Referenced by assClozeTestGUI\getPreview(), assErrorTextGUI\getPreview(), assFileUploadGUI\getPreview(), assFormulaQuestionGUI\getPreview(), assImagemapQuestionGUI\getPreview(), assKprimChoiceGUI\getPreview(), assLongMenuGUI\getPreview(), assMatchingQuestionGUI\getPreview(), assMultipleChoiceGUI\getPreview(), assNumericGUI\getPreview(), assOrderingHorizontalGUI\getPreview(), assOrderingQuestionGUI\getPreview(), assSingleChoiceGUI\getPreview(), assTextQuestionGUI\getPreview(), assTextSubsetGUI\getPreview(), and assFormulaQuestionGUI\getSolutionOutput().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Reimplemented in assFileUploadGUI, and assImagemapQuestionGUI.
Definition at line 594 of file class.assQuestionGUI.php.
References $tpl.
Referenced by outQuestionPage().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Reimplemented in assFileUploadGUI.
Definition at line 589 of file class.assQuestionGUI.php.
Referenced by outQuestionPage().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::getQuestionActionCmd | ( | ) | 
Definition at line 361 of file class.assQuestionGUI.php.
References $questionActionCmd.
Referenced by assImagemapQuestionGUI\buildAreaLinkTarget(), assFileUploadGUI\getPreview(), assImagemapQuestionGUI\getPreview(), assFileUploadGUI\getSolutionOutput(), assFileUploadGUI\getTestOutput(), and assImagemapQuestionGUI\getTestOutput().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::getQuestionCount | ( | ) | 
Definition at line 1049 of file class.assQuestionGUI.php.
References $question_count.
| assQuestionGUI::getQuestionHeaderBlockBuilder | ( | ) | 
Definition at line 345 of file class.assQuestionGUI.php.
References $questionHeaderBlockBuilder.
Referenced by ilTestPlayerAbstractGUI\populateInstantResponseModal(), ilTestPlayerAbstractGUI\showQuestionEditable(), and ilTestPlayerAbstractGUI\showQuestionViewable().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::getQuestionTemplate | ( | ) | 
get question template
Definition at line 480 of file class.assQuestionGUI.php.
Referenced by assTextQuestionGUI\addSuggestedSolution(), assImagemapQuestionGUI\areaEditor(), assClozeTestGUI\editQuestion(), assErrorTextGUI\editQuestion(), assFileUploadGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assNumericGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assTextQuestionGUI\editQuestion(), assTextSubsetGUI\editQuestion(), assImagemapQuestionGUI\editQuestion(), assKprimChoiceGUI\editQuestion(), assLongMenuGUI\editQuestion(), and renderEditForm().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::getQuestionType | ( | ) | 
Returns the question type string.
Returns the question type string
Definition at line 1081 of file class.assQuestionGUI.php.
Referenced by ilScoringAdjustmentGUI\allowedInAdjustment(), and getType().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::getRenderPurpose | ( | ) | 
Definition at line 202 of file class.assQuestionGUI.php.
References $renderPurpose.
Referenced by isRenderPurposeDemoplay(), isRenderPurposeInputValue(), isRenderPurposePlayback(), isRenderPurposePreview(), isRenderPurposePrintPdf(), and suggestedsolution().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::getSequenceNumber | ( | ) | 
Definition at line 1039 of file class.assQuestionGUI.php.
References $sequence_no.
| 
 | abstract | 
Reimplemented in assOrderingQuestionGUI, assClozeTestGUI, assErrorTextGUI, assFileUploadGUI, assFlashQuestionGUI, assFormulaQuestionGUI, assImagemapQuestionGUI, assJavaAppletGUI, assKprimChoiceGUI, assLongMenuGUI, assMatchingQuestionGUI, assMultipleChoiceGUI, assNumericGUI, assOrderingHorizontalGUI, assSingleChoiceGUI, assTextQuestionGUI, and assTextSubsetGUI.
Referenced by ilAssQuestionSkillAssignmentsGUI\buildQuestionPage(), ilTestPlayerAbstractGUI\populateInstantResponseBlocks(), ilTestPlayerAbstractGUI\populateInstantResponseModal(), ilTestPlayerAbstractGUI\showQuestionViewable(), and suggestedsolution().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | abstract | 
Returns the answer specific feedback for the question.
This method should be overwritten by the actual question.
| integer | $active_id | Active ID of the user | 
| integer | $pass | Active pass | 
Reimplemented in assClozeTestGUI, assErrorTextGUI, assFileUploadGUI, assFlashQuestionGUI, assFormulaQuestionGUI, assImagemapQuestionGUI, assJavaAppletGUI, assKprimChoiceGUI, assLongMenuGUI, assMatchingQuestionGUI, assMultipleChoiceGUI, assNumericGUI, assOrderingHorizontalGUI, assOrderingQuestionGUI, assSingleChoiceGUI, assTextQuestionGUI, and assTextSubsetGUI.
| assQuestionGUI::getTargetGuiClass | ( | ) | 
Definition at line 328 of file class.assQuestionGUI.php.
References $targetGuiClass.
Referenced by assImagemapQuestionGUI\buildAreaLinkTarget(), assImagemapQuestionGUI\getPreview(), assFileUploadGUI\getSolutionOutput(), assErrorTextGUI\getTestOutput(), and assImagemapQuestionGUI\getTestOutput().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::getTaxonomyIds | ( | ) | 
Definition at line 313 of file class.assQuestionGUI.php.
References $taxonomyIds.
Referenced by populateTaxonomyFormSection(), and saveTaxonomyAssignments().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | abstract | 
Reimplemented in assClozeTestGUI, assErrorTextGUI, assMultipleChoiceGUI, assKprimChoiceGUI, assNumericGUI, assFileUploadGUI, assFlashQuestionGUI, assFormulaQuestionGUI, assImagemapQuestionGUI, assJavaAppletGUI, assLongMenuGUI, assOrderingHorizontalGUI, assSingleChoiceGUI, assMatchingQuestionGUI, assTextQuestionGUI, assTextSubsetGUI, and assOrderingQuestionGUI.
Referenced by outQuestionForTest().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::getType | ( | ) | 
needed for page editor compliance
Definition at line 173 of file class.assQuestionGUI.php.
References getQuestionType().
Referenced by buildBasicEditFormObject().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 578 of file class.assQuestionGUI.php.
References $tpl.
Referenced by outQuestionPage().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 2135 of file class.assQuestionGUI.php.
Referenced by assOrderingQuestionGUI\getSolutionOutput(), assClozeTestGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assFormulaQuestionGUI\getSolutionOutput(), assImagemapQuestionGUI\getSolutionOutput(), assJavaAppletGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), assLongMenuGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assOrderingHorizontalGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), and assTextSubsetGUI\getSolutionOutput().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::isAdjustmentEditContext | ( | ) | 
| bool | $isAdjustmentEditContext | 
Definition at line 282 of file class.assQuestionGUI.php.
References EDIT_CONTEXT_ADJUSTMENT, and getEditContext().
Referenced by assOrderingQuestionGUI\populateAnswerSpecificFormPart(), and assOrderingQuestionGUI\writeAnswerSpecificPostData().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::isAuthoringEditContext | ( | ) | 
| bool | $isAuthoringEditContext | 
Definition at line 274 of file class.assQuestionGUI.php.
References EDIT_CONTEXT_AUTHORING, and getEditContext().
 Here is the call graph for this function:
 Here is the call graph for this function:| assQuestionGUI::isAutosaveable | ( | ) | 
Definition at line 2143 of file class.assQuestionGUI.php.
| assQuestionGUI::isRenderPurposeDemoplay | ( | ) | 
Definition at line 235 of file class.assQuestionGUI.php.
References getRenderPurpose(), and RENDER_PURPOSE_DEMOPLAY.
Referenced by assOrderingQuestionGUI\isInteractivePresentation().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::isRenderPurposeInputValue | ( | ) | 
Definition at line 225 of file class.assQuestionGUI.php.
References getRenderPurpose(), and RENDER_PURPOSE_INPUT_VALUE.
Referenced by renderPurposeSupportsFormHtml().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::isRenderPurposePlayback | ( | ) | 
Definition at line 230 of file class.assQuestionGUI.php.
References getRenderPurpose(), and RENDER_PURPOSE_PLAYBACK.
Referenced by assOrderingQuestionGUI\isInteractivePresentation().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::isRenderPurposePreview | ( | ) | 
Definition at line 220 of file class.assQuestionGUI.php.
References getRenderPurpose(), and RENDER_PURPOSE_PREVIEW.
 Here is the call graph for this function:
 Here is the call graph for this function:| assQuestionGUI::isRenderPurposePrintPdf | ( | ) | 
Definition at line 215 of file class.assQuestionGUI.php.
References getRenderPurpose(), and RENDER_PURPOSE_PRINT_PDF.
Referenced by assKprimChoiceGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assOrderingQuestionGUI\populateAnswerSpecificFormPart(), assClozeTestGUI\populateSolutiontextToGapTpl(), and renderPurposeSupportsFormHtml().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::isSaveCommand | ( | ) | 
Reimplemented in assFormulaQuestionGUI.
Definition at line 1916 of file class.assQuestionGUI.php.
Referenced by assClozeTestGUI\editQuestion(), assErrorTextGUI\editQuestion(), assFileUploadGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assNumericGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assTextQuestionGUI\editQuestion(), assTextSubsetGUI\editQuestion(), and assOrderingQuestionGUI\writePostData().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::isTestPresentationContext | ( | ) | 
Definition at line 194 of file class.assQuestionGUI.php.
References getPresentationContext(), and PRESENTATION_CONTEXT_TEST.
Referenced by assOrderingQuestionGUI\getSolutionOutput(), assClozeTestGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assImagemapQuestionGUI\getSolutionOutput(), assJavaAppletGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), assLongMenuGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assOrderingHorizontalGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), and assTextSubsetGUI\getSolutionOutput().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::linkChilds | ( | ) | 
Definition at line 1857 of file class.assQuestionGUI.php.
References $_GET, outChapterSelector(), outGlossarySelector(), outPageSelector(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| assQuestionGUI::magicAfterTestOutput | ( | ) | 
Reimplemented in assTextQuestionGUI.
Definition at line 2211 of file class.assQuestionGUI.php.
Referenced by outQuestionForTest().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::originalSyncForm | ( | $return_to = "", | |
| $return_to_feedback = '' | |||
| ) | 
| string | $return_to | |
| string | $return_to_feedback | ilAssQuestionFeedbackEditingGUI | 
Definition at line 637 of file class.assQuestionGUI.php.
Referenced by suggestedsolution().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::outAdditionalOutput | ( | ) | 
Reimplemented in assTextQuestionGUI.
Definition at line 1069 of file class.assQuestionGUI.php.
| assQuestionGUI::outChapterSelector | ( | ) | 
Definition at line 1792 of file class.assQuestionGUI.php.
References $_GET, and ilUtil\stripSlashes().
Referenced by linkChilds().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::outGlossarySelector | ( | ) | 
Definition at line 1827 of file class.assQuestionGUI.php.
References $_GET.
Referenced by linkChilds().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::outPageSelector | ( | ) | 
Definition at line 1725 of file class.assQuestionGUI.php.
References $_GET, getContextPath(), ilLMPageObject\getPageList(), ilUtil\prepareFormOutput(), and ilUtil\stripSlashes().
Referenced by linkChilds().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | final | 
| string | $formaction | |
| integer | $active_id | |
| integer | null | $pass | |
| bool | $is_question_postponed | |
| bool | $user_post_solutions | |
| bool | $show_specific_inline_feedback | 
Definition at line 2175 of file class.assQuestionGUI.php.
References $pass, completeTestOutputFormAction(), getFormEncodingType(), getTestOutput(), and magicAfterTestOutput().
Referenced by ilTestPlayerAbstractGUI\showQuestionEditable().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::outQuestionPage | ( | $a_temp_var, | |
| $a_postponed = false, | |||
| $active_id = "", | |||
| $html = "" | |||
| ) | 
output question page
Definition at line 528 of file class.assQuestionGUI.php.
References $html, getNavigationGUI(), getPreviousSolutionConfirmationCheckboxHtml(), getPreviousSolutionProvidedMessage(), getUseUnchangedAnswerCheckboxHtml(), and ilUtil\sendInfo().
Referenced by assClozeTestGUI\getTestOutput(), assErrorTextGUI\getTestOutput(), assMultipleChoiceGUI\getTestOutput(), assKprimChoiceGUI\getTestOutput(), assNumericGUI\getTestOutput(), assFileUploadGUI\getTestOutput(), assFlashQuestionGUI\getTestOutput(), assFormulaQuestionGUI\getTestOutput(), assImagemapQuestionGUI\getTestOutput(), assJavaAppletGUI\getTestOutput(), assLongMenuGUI\getTestOutput(), assOrderingHorizontalGUI\getTestOutput(), assSingleChoiceGUI\getTestOutput(), assMatchingQuestionGUI\getTestOutput(), assTextQuestionGUI\getTestOutput(), assTextSubsetGUI\getTestOutput(), assOrderingQuestionGUI\getTestOutput(), ilTestPlayerAbstractGUI\populateInstantResponseModal(), and ilTestPlayerAbstractGUI\showQuestionViewable().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::outQuestionType | ( | ) | 
Definition at line 1385 of file class.assQuestionGUI.php.
References $_GET, assQuestion\_getQuestionTypeName(), ilUtil\sendInfo(), and sprintf.
Referenced by buildBasicEditFormObject(), assMultipleChoiceGUI\buildEditForm(), assOrderingQuestionGUI\buildEditForm(), assClozeTestGUI\editQuestion(), assErrorTextGUI\editQuestion(), assFileUploadGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assNumericGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assTextQuestionGUI\editQuestion(), and assTextSubsetGUI\editQuestion().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::outSolutionExplorer | ( | ) | 
Definition at line 1644 of file class.assQuestionGUI.php.
References $_GET, and ilUtil\sendInfo().
 Here is the call graph for this function:
 Here is the call graph for this function:| assQuestionGUI::populateJavascriptFilesRequiredForWorkForm | ( | ilTemplate | $tpl | ) | 
Reimplemented in assMultipleChoiceGUI.
Definition at line 472 of file class.assQuestionGUI.php.
References $tpl.
| 
 | protected | 
Definition at line 1277 of file class.assQuestionGUI.php.
References ilObject\_lookupType(), ilPropertyFormGUI\addItem(), getTaxonomyIds(), and sprintf.
Referenced by assImagemapQuestionGUI\buildEditForm(), assKprimChoiceGUI\buildEditForm(), assLongMenuGUI\buildEditForm(), assMultipleChoiceGUI\buildEditForm(), assOrderingQuestionGUI\buildEditForm(), assClozeTestGUI\editQuestion(), assErrorTextGUI\editQuestion(), assFileUploadGUI\editQuestion(), assFlashQuestionGUI\editQuestion(), assJavaAppletGUI\editQuestion(), assMatchingQuestionGUI\editQuestion(), assNumericGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assTextQuestionGUI\editQuestion(), and assTextSubsetGUI\editQuestion().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
| $form | 
Definition at line 502 of file class.assQuestionGUI.php.
References getQuestionTemplate().
Referenced by assOrderingQuestionGUI\changeToPictures(), assOrderingQuestionGUI\changeToText(), assOrderingQuestionGUI\editQuestion(), assOrderingQuestionGUI\orderNestedPictures(), assOrderingQuestionGUI\orderNestedTerms(), assOrderingQuestionGUI\removeElementImage(), assOrderingQuestionGUI\uploadElementImage(), and assOrderingQuestionGUI\writePostData().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::renderPurposeSupportsFormHtml | ( | ) | 
Definition at line 240 of file class.assQuestionGUI.php.
References isRenderPurposeInputValue(), and isRenderPurposePrintPdf().
Referenced by assKprimChoiceGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), and assClozeTestGUI\populateSolutiontextToGapTpl().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::save | ( | ) | 
save question
in express mode, so add question to test directly
Definition at line 799 of file class.assQuestionGUI.php.
References $_GET, $_SESSION, $ilDB, $ilUser, $result, $test, assQuestion\_isWriteable(), assQuestion\_questionExistsInTest(), callNewIdListeners(), ilTestExpressPage\getReturnToPageLink(), ilUtil\redirect(), ilUtil\sendSuccess(), and writePostData().
Referenced by assFormulaQuestionGUI\saveFQ().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::saveEdit | ( | ) | 
save question
Definition at line 741 of file class.assQuestionGUI.php.
References $_GET, $_SESSION, $ilDB, $ilUser, $result, $test, assQuestion\_isWriteable(), ilUtil\redirect(), ilUtil\sendSuccess(), and writePostData().
 Here is the call graph for this function:
 Here is the call graph for this function:| assQuestionGUI::saveReturn | ( | ) | 
save question
Definition at line 913 of file class.assQuestionGUI.php.
References $_GET, $_SESSION, $ilDB, $ilUser, $result, $test, assQuestion\_isWriteable(), assQuestion\_questionExistsInTest(), callNewIdListeners(), ilTestExpressPage\getReturnToPageLink(), ilUtil\redirect(), ilUtil\sendSuccess(), and writePostData().
 Here is the call graph for this function:
 Here is the call graph for this function:| assQuestionGUI::saveSuggestedSolution | ( | ) | 
Definition at line 1680 of file class.assQuestionGUI.php.
References $_POST, and suggestedsolution().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Definition at line 1260 of file class.assQuestionGUI.php.
References getTaxonomyIds().
Referenced by assOrderingQuestionGUI\persistAuthoringForm(), assFormulaQuestionGUI\saveFQ(), assFormulaQuestionGUI\saveReturnFQ(), assClozeTestGUI\writePostData(), assErrorTextGUI\writePostData(), assFileUploadGUI\writePostData(), assFlashQuestionGUI\writePostData(), assImagemapQuestionGUI\writePostData(), assJavaAppletGUI\writePostData(), assLongMenuGUI\writePostData(), assMatchingQuestionGUI\writePostData(), assMultipleChoiceGUI\writePostData(), assNumericGUI\writePostData(), assOrderingHorizontalGUI\writePostData(), assSingleChoiceGUI\writePostData(), assTextQuestionGUI\writePostData(), assTextSubsetGUI\writePostData(), assKprimChoiceGUI\writePostData(), and assLongMenuGUI\writeQuestionSpecificPostData().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::setAdjustmentEditContext | ( | ) | 
Definition at line 287 of file class.assQuestionGUI.php.
References setEditContext().
 Here is the call graph for this function:
 Here is the call graph for this function:| assQuestionGUI::setEditContext | ( | $editContext | ) | 
| string | $editContext | 
Definition at line 266 of file class.assQuestionGUI.php.
References $editContext.
Referenced by setAdjustmentEditContext().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::setErrorMessage | ( | $errormessage | ) | 
Definition at line 1059 of file class.assQuestionGUI.php.
References $errormessage.
Referenced by assErrorTextGUI\__construct(), assFileUploadGUI\__construct(), assMatchingQuestionGUI\__construct(), assOrderingHorizontalGUI\__construct(), and assFlashQuestionGUI\writeQuestionSpecificPostData().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::setNavigationGUI | ( | $navigationGUI | ) | 
| ilTestQuestionNavigationGUI | $navigationGUI | 
Definition at line 303 of file class.assQuestionGUI.php.
References $navigationGUI.
Referenced by ilTestPlayerAbstractGUI\populateInstantResponseModal(), ilTestPlayerAbstractGUI\showQuestionEditable(), and ilTestPlayerAbstractGUI\showQuestionViewable().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::setPresentationContext | ( | $presentationContext | ) | 
| string | $presentationContext | 
Definition at line 189 of file class.assQuestionGUI.php.
References $presentationContext.
| assQuestionGUI::setPreviewSession | ( | $previewSession | ) | 
| \ilAssQuestionPreviewSession | $previewSession | 
Definition at line 2277 of file class.assQuestionGUI.php.
References $previewSession.
| assQuestionGUI::setQuestionActionCmd | ( | $questionActionCmd | ) | 
Definition at line 351 of file class.assQuestionGUI.php.
References $questionActionCmd.
| assQuestionGUI::setQuestionCount | ( | $a_question_count | ) | 
Definition at line 1044 of file class.assQuestionGUI.php.
| assQuestionGUI::setQuestionHeaderBlockBuilder | ( | $questionHeaderBlockBuilder | ) | 
| \ilQuestionHeaderBlockBuilder | $questionHeaderBlockBuilder | 
Definition at line 336 of file class.assQuestionGUI.php.
References $questionHeaderBlockBuilder.
| assQuestionGUI::setQuestionTabs | ( | ) | 
Reimplemented in assClozeTestGUI, assErrorTextGUI, assFileUploadGUI, assFlashQuestionGUI, assFormulaQuestionGUI, assImagemapQuestionGUI, assJavaAppletGUI, assLongMenuGUI, assMatchingQuestionGUI, assMultipleChoiceGUI, assOrderingHorizontalGUI, assOrderingQuestionGUI, assSingleChoiceGUI, assTextQuestionGUI, and assTextSubsetGUI.
Definition at line 1951 of file class.assQuestionGUI.php.
References $_GET, $url, addBackTab(), addTab_QuestionFeedback(), addTab_QuestionHints(), addTab_QuestionPreview(), addTab_SuggestedSolution(), and getEditQuestionTabCommands().
 Here is the call graph for this function:
 Here is the call graph for this function:| assQuestionGUI::setRenderPurpose | ( | $renderPurpose | ) | 
| string | $renderPurpose | 
Definition at line 210 of file class.assQuestionGUI.php.
References $renderPurpose.
Referenced by suggestedsolution().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::setSequenceNumber | ( | $nr | ) | 
Definition at line 1034 of file class.assQuestionGUI.php.
| assQuestionGUI::setTargetGui | ( | $linkTargetGui | ) | 
Definition at line 318 of file class.assQuestionGUI.php.
References setTargetGuiClass().
 Here is the call graph for this function:
 Here is the call graph for this function:| assQuestionGUI::setTargetGuiClass | ( | $targetGuiClass | ) | 
Definition at line 323 of file class.assQuestionGUI.php.
References $targetGuiClass.
Referenced by setTargetGui().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::setTaxonomyIds | ( | $taxonomyIds | ) | 
Definition at line 308 of file class.assQuestionGUI.php.
References $taxonomyIds.
| assQuestionGUI::showHints | ( | ) | 
Definition at line 2310 of file class.assQuestionGUI.php.
References $ilCtrl, and ilAssQuestionHintsGUI\CMD_SHOW_LIST.
| assQuestionGUI::showSuggestedSolution | ( | ) | 
Definition at line 1401 of file class.assQuestionGUI.php.
References suggestedsolution().
 Here is the call graph for this function:
 Here is the call graph for this function:| assQuestionGUI::suggestedsolution | ( | ) | 
Allows to add suggested solutions for questions.
@access public
Definition at line 1411 of file class.assQuestionGUI.php.
References $_GET, $_POST, $file, $ilUser, $options, $output, $res, $title, assQuestion\_getInternalLinkHref(), assQuestion\_isWriteable(), getRenderPurpose(), getSolutionOutput(), ilUtil\makeDirParents(), ilUtil\moveUploadedFile(), originalSyncForm(), ilUtil\prepareFormOutput(), ilUtil\renameExecutables(), ilUtil\sendInfo(), ilUtil\sendSuccess(), and setRenderPurpose().
Referenced by saveSuggestedSolution(), and showSuggestedSolution().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| assQuestionGUI::sync | ( | ) | 
Definition at line 661 of file class.assQuestionGUI.php.
References $_GET, $ref_id, ilLink\_getLink(), ilObjectFactory\getInstanceByRefId(), ilTestExpressPage\getReturnToPageLink(), and ilUtil\redirect().
 Here is the call graph for this function:
 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, assFlashQuestionGUI, assFormulaQuestionGUI, assImagemapQuestionGUI, assJavaAppletGUI, assLongMenuGUI, assMatchingQuestionGUI, assMultipleChoiceGUI, assNumericGUI, assOrderingHorizontalGUI, assSingleChoiceGUI, assTextQuestionGUI, assTextSubsetGUI, assOrderingQuestionGUI, and assKprimChoiceGUI.
Definition at line 370 of file class.assQuestionGUI.php.
Referenced by apply(), save(), saveEdit(), and saveReturn().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 2148 of file class.assQuestionGUI.php.
References $_POST, and ilUtil\stripOnlySlashes().
Referenced by assOrderingQuestionGUI\persistAuthoringForm(), assClozeTestGUI\writePostData(), assErrorTextGUI\writePostData(), assFileUploadGUI\writePostData(), assFlashQuestionGUI\writePostData(), assImagemapQuestionGUI\writePostData(), assJavaAppletGUI\writePostData(), assLongMenuGUI\writePostData(), assMatchingQuestionGUI\writePostData(), assMultipleChoiceGUI\writePostData(), assNumericGUI\writePostData(), assOrderingHorizontalGUI\writePostData(), assSingleChoiceGUI\writePostData(), assTextQuestionGUI\writePostData(), assTextSubsetGUI\writePostData(), and assKprimChoiceGUI\writePostData().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 94 of file class.assQuestionGUI.php.
Referenced by getEditContext(), and setEditContext().
| 
 | protected | 
Definition at line 99 of file class.assQuestionGUI.php.
Referenced by buildEditForm().
| assQuestionGUI::$error | 
Definition at line 41 of file class.assQuestionGUI.php.
| assQuestionGUI::$errormessage | 
Definition at line 42 of file class.assQuestionGUI.php.
Referenced by addErrorMessage(), getErrorMessage(), and setErrorMessage().
| assQuestionGUI::$lng | 
Definition at line 40 of file class.assQuestionGUI.php.
Referenced by __construct(), _getQuestionGUI(), and assClozeTestGUI\getSpecificFeedbackOutput().
| 
 | private | 
Definition at line 67 of file class.assQuestionGUI.php.
Referenced by getNavigationGUI(), and setNavigationGUI().
| assQuestionGUI::$object | 
Definition at line 37 of file class.assQuestionGUI.php.
Referenced by callNewIdListeners().
| 
 | private | 
Definition at line 75 of file class.assQuestionGUI.php.
Referenced by getPresentationContext(), and setPresentationContext().
| 
 | private | 
Definition at line 2272 of file class.assQuestionGUI.php.
Referenced by getPreviewSession(), and setPreviewSession().
| assQuestionGUI::$question_count | 
question count in test
Definition at line 51 of file class.assQuestionGUI.php.
Referenced by getQuestionCount().
| 
 | private | 
Definition at line 57 of file class.assQuestionGUI.php.
Referenced by getQuestionActionCmd(), and setQuestionActionCmd().
| 
 | private | 
Definition at line 62 of file class.assQuestionGUI.php.
Referenced by getQuestionHeaderBlockBuilder(), and setQuestionHeaderBlockBuilder().
| 
 | private | 
Definition at line 86 of file class.assQuestionGUI.php.
Referenced by getRenderPurpose(), and setRenderPurpose().
| assQuestionGUI::$sequence_no | 
sequence number in test
Definition at line 47 of file class.assQuestionGUI.php.
Referenced by getSequenceNumber().
| 
 | private | 
Definition at line 55 of file class.assQuestionGUI.php.
Referenced by getTargetGuiClass(), and setTargetGuiClass().
| 
 | private | 
Definition at line 53 of file class.assQuestionGUI.php.
Referenced by getTaxonomyIds(), and setTaxonomyIds().
| assQuestionGUI::$tpl | 
Definition at line 39 of file class.assQuestionGUI.php.
Referenced by __construct(), assLongMenuGUI\getAggregatedAnswersView(), assTextQuestionGUI\getBestAnswer(), assTextQuestionGUI\getJsCode(), assImagemapQuestionGUI\getPreviousSolutionConfirmationCheckboxHtml(), getPreviousSolutionConfirmationCheckboxHtml(), assLongMenuGUI\getSelectGapTemplate(), assOrderingQuestionGUI\getSpecificFeedbackOutput(), assLongMenuGUI\getTextGapTemplate(), getUseUnchangedAnswerCheckboxHtml(), assMultipleChoiceGUI\populateJavascriptFilesRequiredForWorkForm(), populateJavascriptFilesRequiredForWorkForm(), assClozeTestGUI\populateQuestionSpecificFormPart(), assLongMenuGUI\populateQuestionSpecificFormPart(), assKprimChoiceGUI\renderAggregateView(), assMultipleChoiceGUI\renderAggregateView(), assNumericGUI\renderAggregateView(), assOrderingHorizontalGUI\renderAggregateView(), assOrderingQuestionGUI\renderAggregateView(), assSingleChoiceGUI\renderAggregateView(), assTextSubsetGUI\renderAggregateView(), and assImagemapQuestionGUI\renderAggregateView().
| const assQuestionGUI::EDIT_CONTEXT_ADJUSTMENT = 'adjustment' | 
Definition at line 89 of file class.assQuestionGUI.php.
Referenced by isAdjustmentEditContext().
| const assQuestionGUI::EDIT_CONTEXT_AUTHORING = 'authoring' | 
Definition at line 88 of file class.assQuestionGUI.php.
Referenced by ilObjTestGUI\executeCommand(), ilObjQuestionPoolGUI\executeCommand(), and isAuthoringEditContext().
| const assQuestionGUI::FORM_ENCODING_MULTIPART = 'multipart/form-data' | 
Definition at line 26 of file class.assQuestionGUI.php.
Referenced by assFileUploadGUI\getFormEncodingType().
| const assQuestionGUI::FORM_ENCODING_URLENCODE = 'application/x-www-form-urlencoded' | 
Definition at line 25 of file class.assQuestionGUI.php.
Referenced by getFormEncodingType().
| const assQuestionGUI::FORM_MODE_ADJUST = 'adjust' | 
Definition at line 23 of file class.assQuestionGUI.php.
| const assQuestionGUI::FORM_MODE_EDIT = 'edit' | 
Definition at line 22 of file class.assQuestionGUI.php.
| const assQuestionGUI::PRESENTATION_CONTEXT_RESULTS = 'pContextResults' | 
Definition at line 70 of file class.assQuestionGUI.php.
| const assQuestionGUI::PRESENTATION_CONTEXT_TEST = 'pContextTest' | 
Definition at line 69 of file class.assQuestionGUI.php.
Referenced by ilTestPlayerAbstractGUI\getQuestionGuiInstance(), and isTestPresentationContext().
| const assQuestionGUI::RENDER_PURPOSE_DEMOPLAY = 'renderPurposeDemoplay' | 
Definition at line 78 of file class.assQuestionGUI.php.
Referenced by ilAssQuestionPreviewGUI\initQuestion(), and isRenderPurposeDemoplay().
| const assQuestionGUI::RENDER_PURPOSE_INPUT_VALUE = 'renderPurposeInputValue' | 
Definition at line 81 of file class.assQuestionGUI.php.
Referenced by isRenderPurposeInputValue().
| const assQuestionGUI::RENDER_PURPOSE_PLAYBACK = 'renderPurposePlayback' | 
Definition at line 77 of file class.assQuestionGUI.php.
Referenced by isRenderPurposePlayback().
| const assQuestionGUI::RENDER_PURPOSE_PREVIEW = 'renderPurposePreview' | 
Definition at line 79 of file class.assQuestionGUI.php.
Referenced by ilObjTestGUI\executeCommand(), ilObjQuestionPoolGUI\executeCommand(), ilSCORM2004Asset\exportHTMLPageObjects(), ilQuestionPoolPrintViewTableGUI\fillRow(), ilSCORM2004PageGUI\getQuestionHtmlOfPage(), isRenderPurposePreview(), and ilObjTestGUI\reviewobject().
| const assQuestionGUI::RENDER_PURPOSE_PRINT_PDF = 'renderPurposePrintPdf' | 
Definition at line 80 of file class.assQuestionGUI.php.
Referenced by ilTestServiceGUI\getCorrectSolutionOutput(), ilTestServiceGUI\getPassListOfAnswers(), ilTestServiceGUI\getQuestionResultForTestUsers(), isRenderPurposePrintPdf(), and ilObjTestGUI\printobject().
| const assQuestionGUI::SESSION_PREVIEW_DATA_BASE_INDEX = 'ilAssQuestionPreviewAnswers' | 
Definition at line 28 of file class.assQuestionGUI.php.