|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Ordering question GUI representation. More...
Inheritance diagram for assOrderingQuestionGUI:
Collaboration diagram for assOrderingQuestionGUI:Public Member Functions | |
| __construct ($id=-1) | |
| assOrderingQuestionGUI constructor More... | |
| changeToPictures () | |
| changeToText () | |
| saveNesting () | |
| removeElementImage () | |
| uploadElementImage () | |
| writeQuestionSpecificPostData (ilPropertyFormGUI $form) | |
| Extracts the question specific values from $_POST and applies them to the data object. More... | |
| writeAnswerSpecificPostData (ilPropertyFormGUI $form) | |
| Extracts the answer specific values from $_POST and applies them to the data object. More... | |
| populateAnswerSpecificFormPart (ilPropertyFormGUI $form) | |
| Adds the answer specific form parts to a question property form gui. More... | |
| populateQuestionSpecificFormPart (\ilPropertyFormGUI $form) | |
| editQuestion ($checkonly=false) | |
| editNesting () | |
| supportsIntermediateSolutionOutput () | |
| Question type specific support of intermediate solution output The function getSolutionOutput respects getUseIntermediateSolution() More... | |
| 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) | |
| Get the question solution output. More... | |
| getPreview ($show_question_only=false, $showInlineFeedback=false) | |
| getPresentationJavascripts () | |
| getTestOutput ($activeId, $pass, $isPostponed=false, $userSolutionPost=false, $inlineFeedback=false) | |
| getSpecificFeedbackOutput ($userSolution) | |
| Returns the answer specific feedback for the question. More... | |
| getAfterParticipationSuppressionAnswerPostVars () | |
| Returns a list of postvars which will be suppressed in the form output when used in scoring adjustment. More... | |
| getAfterParticipationSuppressionQuestionPostVars () | |
| Returns a list of postvars which will be suppressed in the form output when used in scoring adjustment. More... | |
| getAggregatedAnswersView ($relevant_answers) | |
| Returns an html string containing a question specific representation of the answers so far given in the test for use in the right column in the scoring adjustment user interface. More... | |
| aggregateAnswers ($relevant_answers_chosen, $answers_defined_on_question) | |
| renderAggregateView ($aggregate) | |
| getAnswersFrequency ($relevantAnswers, $questionIndex) | |
| prepareReprintableCorrectionsForm (ilPropertyFormGUI $form) | |
| populateCorrectionsFormProperties (ilPropertyFormGUI $form) | |
| saveCorrectionsFormProperties (ilPropertyFormGUI $form) | |
Public Member Functions inherited from assQuestionGUI | |
| __construct () | |
| assQuestionGUI constructor More... | |
| hasInlineFeedback () | |
| this method can be overwritten per question type More... | |
| addHeaderAction () | |
| redrawHeaderAction () | |
| getHeaderAction () | |
| getNotesHTML () | |
| executeCommand () | |
| execute command More... | |
| getType () | |
| needed for page editor compliance More... | |
| getPresentationContext () | |
| setPresentationContext ($presentationContext) | |
| isTestPresentationContext () | |
| isPreviousSolutionPrefilled () | |
| setPreviousSolutionPrefilled ($previousSolutionPrefilled) | |
| 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 (ilGlobalTemplateInterface $tpl) | |
| getPresentationJavascripts () | |
| 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="", $inlineFeedbackEnabled=false) | |
| 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 ($userSolution) | |
| 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) | |
| supportsIntermediateSolutionOutput () | |
| Question type specific support of intermediate solution output The function getSolutionOutput respects getUseIntermediateSolution() More... | |
| hasIntermediateSolution ($activeId, $passIndex) | |
| Check if the question has an intermediate solution. More... | |
| setUseIntermediateSolution ($use) | |
| getUseIntermediateSolution () | |
| Get if intermediate solution should be used for solution output. More... | |
| 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 () | |
| buildFocusAnchorHtml () | |
| isAnswerFreuqencyStatisticSupported () | |
| getSubQuestionsIndex () | |
| getAnswersFrequency ($relevantAnswers, $questionIndex) | |
| getAnswerFrequencyTableGUI ($parentGui, $parentCmd, $relevantAnswers, $questionIndex) | |
| prepareReprintableCorrectionsForm (ilPropertyFormGUI $form) | |
| populateCorrectionsFormProperties (ilPropertyFormGUI $form) | |
| saveCorrectionsFormProperties (ilPropertyFormGUI $form) | |
Public Member Functions inherited from ilGuiQuestionScoringAdjustable | |
| populateQuestionSpecificFormPart (ilPropertyFormGUI $form) | |
| Adds the question specific forms parts to a question property form gui. More... | |
| writeQuestionSpecificPostData (ilPropertyFormGUI $form) | |
| Extracts the question specific values from $_POST and applies them to the data object. More... | |
| getAfterParticipationSuppressionQuestionPostVars () | |
| Returns a list of postvars which will be suppressed in the form output when used in scoring adjustment. More... | |
| getAggregatedAnswersView ($relevant_answers) | |
| Returns an html string containing a question specific representation of the answers so far given in the test for use in the right column in the scoring adjustment user interface. More... | |
| populateAnswerSpecificFormPart (ilPropertyFormGUI $form) | |
| Adds the answer specific form parts to a question property form gui. More... | |
| writeAnswerSpecificPostData (ilPropertyFormGUI $form) | |
| Extracts the answer specific values from $_POST and applies them to the data object. More... | |
| getAfterParticipationSuppressionAnswerPostVars () | |
| Returns a list of postvars which will be suppressed in the form output when used in scoring adjustment. More... | |
Private Member Functions | |
| buildEditFormAfterTypeChange (array $values) | |
Additional Inherited Members | |
Static Public Member Functions inherited from assQuestionGUI | |
| 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... | |
Protected Attributes inherited from assQuestionGUI | |
| const | HAS_SPECIAL_QUESTION_COMMANDS = false |
| $ctrl | |
| $editForm | |
| $use_intermediate_solution = false | |
Ordering question GUI representation.
The assOrderingQuestionGUI class encapsulates the GUI representation for ordering questions.
@ilCtrl_Calls assOrderingQuestionGUI: ilFormPropertyDispatchGUI
Definition at line 24 of file class.assOrderingQuestionGUI.php.
| assOrderingQuestionGUI::__construct | ( | $id = -1 | ) |
assOrderingQuestionGUI constructor
The constructor takes possible arguments an creates an instance of the assOrderingQuestionGUI object.
| integer | $id | The database id of a ordering question object |
Definition at line 57 of file class.assOrderingQuestionGUI.php.
References ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:
|
protected |
Definition at line 312 of file class.assOrderingQuestionGUI.php.
References getTabs().
Referenced by buildEditFormAfterTypeChange(), editNesting(), editQuestion(), and writePostData().
Here is the call graph for this function:
Here is the caller graph for this function:| assOrderingQuestionGUI::aggregateAnswers | ( | $relevant_answers_chosen, | |
| $answers_defined_on_question | |||
| ) |
Definition at line 676 of file class.assOrderingQuestionGUI.php.
Referenced by getAggregatedAnswersView().
Here is the caller graph for this function:
|
protected |
Reimplemented from assQuestionGUI.
Definition at line 346 of file class.assOrderingQuestionGUI.php.
References assQuestionGUI\addBasicQuestionFormProperties(), assQuestionGUI\outQuestionType(), populateAnswerSpecificFormPart(), populateQuestionSpecificFormPart(), and assQuestionGUI\populateTaxonomyFormSection().
Referenced by buildEditFormAfterTypeChange(), editQuestion(), uploadElementImage(), and writePostData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 93 of file class.assOrderingQuestionGUI.php.
References addEditSubtabs(), buildEditForm(), assOrderingQuestion\ORDERING_ELEMENT_FORM_FIELD_POSTVAR, and assQuestionGUI\renderEditForm().
Referenced by changeToPictures(), and changeToText().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 367 of file class.assOrderingQuestionGUI.php.
References assQuestionGUI\isRenderPurposePrintPdf(), and assQuestionGUI\outQuestionType().
Referenced by editNesting(), and saveNesting().
Here is the call graph for this function:
Here is the caller graph for this function:| assOrderingQuestionGUI::changeToPictures | ( | ) |
Definition at line 67 of file class.assOrderingQuestionGUI.php.
References buildEditFormAfterTypeChange().
Here is the call graph for this function:| assOrderingQuestionGUI::changeToText | ( | ) |
Definition at line 80 of file class.assOrderingQuestionGUI.php.
References buildEditFormAfterTypeChange().
Here is the call graph for this function:| assOrderingQuestionGUI::editNesting | ( | ) |
Definition at line 337 of file class.assOrderingQuestionGUI.php.
References addEditSubtabs(), buildNestingForm(), ilObjStyleSheet\getContentStylePath(), ilObjStyleSheet\getSyntaxStylePath(), and assQuestionGUI\renderEditForm().
Referenced by saveNesting().
Here is the call graph for this function:
Here is the caller graph for this function:| assOrderingQuestionGUI::editQuestion | ( | $checkonly = false | ) |
Definition at line 331 of file class.assOrderingQuestionGUI.php.
References addEditSubtabs(), buildEditForm(), and assQuestionGUI\renderEditForm().
Referenced by uploadElementImage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 195 of file class.assOrderingQuestionGUI.php.
References $_POST, F_USE_NESTED, ilPropertyFormGUI\getItemByPostVar(), and assOrderingQuestion\ORDERING_ELEMENT_FORM_FIELD_POSTVAR.
Referenced by saveCorrectionsFormProperties(), uploadElementImage(), and writeAnswerSpecificPostData().
Here is the call graph for this function:
Here is the caller graph for this function:| assOrderingQuestionGUI::getAfterParticipationSuppressionAnswerPostVars | ( | ) |
Returns a list of postvars which will be suppressed in the form output when used in scoring adjustment.
The form elements will be shown disabled, so the users see the usual form but can only edit the settings, which make sense in the given context.
E.g. array('cloze_type', 'image_filename')
Implements ilGuiAnswerScoringAdjustable.
Definition at line 639 of file class.assOrderingQuestionGUI.php.
| assOrderingQuestionGUI::getAfterParticipationSuppressionQuestionPostVars | ( | ) |
Returns a list of postvars which will be suppressed in the form output when used in scoring adjustment.
The form elements will be shown disabled, so the users see the usual form but can only edit the settings, which make sense in the given context.
E.g. array('cloze_type', 'image_filename')
Implements ilGuiQuestionScoringAdjustable.
Definition at line 653 of file class.assOrderingQuestionGUI.php.
| assOrderingQuestionGUI::getAggregatedAnswersView | ( | $relevant_answers | ) |
Returns an html string containing a question specific representation of the answers so far given in the test for use in the right column in the scoring adjustment user interface.
| array | $relevant_answers |
Implements ilGuiQuestionScoringAdjustable.
Definition at line 666 of file class.assOrderingQuestionGUI.php.
References aggregateAnswers(), and renderAggregateView().
Here is the call graph for this function:| assOrderingQuestionGUI::getAnswersFrequency | ( | $relevantAnswers, | |
| $questionIndex | |||
| ) |
Reimplemented from assQuestionGUI.
Definition at line 807 of file class.assOrderingQuestionGUI.php.
References getAnswerStatisticOrderingVariantHtml().
Here is the call graph for this function:
|
protected |
Definition at line 755 of file class.assOrderingQuestionGUI.php.
References ilAssOrderingElement\getContent(), ilAssOrderingElement\getPresentationImageUrl(), ilAssOrderingElement\setImagePathFs(), ilAssOrderingElement\setImagePathWeb(), and ilAssOrderingElement\setImageThumbnailPrefix().
Referenced by getAnswerStatisticOrderingVariantHtml().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 772 of file class.assOrderingQuestionGUI.php.
References $i, and getAnswerStatisticOrderingElementHtml().
Referenced by getAnswersFrequency().
Here is the call graph for this function:
Here is the caller graph for this function:| assOrderingQuestionGUI::getPresentationJavascripts | ( | ) |
Reimplemented from assQuestionGUI.
Definition at line 531 of file class.assOrderingQuestionGUI.php.
References $DIC.
| assOrderingQuestionGUI::getPreview | ( | $show_question_only = false, |
|
$showInlineFeedback = false |
|||
| ) |
Reimplemented from assQuestionGUI.
Definition at line 500 of file class.assOrderingQuestionGUI.php.
References ilAssNestedOrderingElementsInputGUI\CONTEXT_QUESTION_PREVIEW, assQuestionGUI\getILIASPage(), assQuestionGUI\getPreviewSession(), and isInteractivePresentation().
Here is the call graph for this function:| assOrderingQuestionGUI::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 |
|||
| ) |
Get the question solution output.
| integer | $active_id | The active user id |
| integer | $pass | The test pass |
| boolean | $graphicalOutput | Show visual feedback for right/wrong answers |
| boolean | $result_output | Show the reached points for parts of the question |
| boolean | $show_question_only | Show the question without the ILIAS content around |
| boolean | $show_feedback | Show the question feedback |
| boolean | $show_correct_solution | Show the correct solution instead of the user solution |
| boolean | $show_manual_scoring | Show specific information for the manual scoring output |
| bool | $show_question_text |
Reimplemented from assQuestionGUI.
Definition at line 421 of file class.assOrderingQuestionGUI.php.
References $pass, ilAssNestedOrderingElementsInputGUI\CONTEXT_CORRECT_SOLUTION_PRESENTATION, ilAssNestedOrderingElementsInputGUI\CONTEXT_USER_SOLUTION_PRESENTATION, ilAssQuestionFeedback\CSS_CLASS_FEEDBACK_CORRECT, ilAssQuestionFeedback\CSS_CLASS_FEEDBACK_WRONG, assQuestionGUI\getGenericFeedbackOutput(), assQuestionGUI\getILIASPage(), getSpecificFeedbackOutput(), assQuestionGUI\getUseIntermediateSolution(), assQuestionGUI\hasCorrectSolution(), and assQuestionGUI\isTestPresentationContext().
Here is the call graph for this function:| assOrderingQuestionGUI::getSpecificFeedbackOutput | ( | $userSolution | ) |
Returns the answer specific feedback for the question.
This method should be overwritten by the actual question.
| array | $userSolution | ($userSolution[<value1>] = <value2>) |
Reimplemented from assQuestionGUI.
Definition at line 597 of file class.assOrderingQuestionGUI.php.
References assQuestionGUI\$tpl.
Referenced by getSolutionOutput().
Here is the caller graph for this function:
|
protected |
Definition at line 591 of file class.assOrderingQuestionGUI.php.
References $DIC.
Referenced by addEditSubtabs().
Here is the caller graph for this function:| assOrderingQuestionGUI::getTestOutput | ( | $activeId, | |
| $pass, | |||
$isPostponed = false, |
|||
$userSolutionPost = false, |
|||
$inlineFeedback = false |
|||
| ) |
Reimplemented from assQuestionGUI.
Definition at line 545 of file class.assOrderingQuestionGUI.php.
References $pass, ilAssNestedOrderingElementsInputGUI\CONTEXT_USER_SOLUTION_SUBMISSION, and assQuestionGUI\outQuestionPage().
Here is the call graph for this function:
|
protected |
Definition at line 578 of file class.assOrderingQuestionGUI.php.
References assQuestionGUI\isRenderPurposeDemoplay(), and assQuestionGUI\isRenderPurposePlayback().
Referenced by getPreview().
Here is the call graph for this function:
Here is the caller graph for this function:| assOrderingQuestionGUI::populateAnswerSpecificFormPart | ( | ilPropertyFormGUI | $form | ) |
Adds the answer specific form parts to a question property form gui.
| ilPropertyFormGUI | $form |
Implements ilGuiAnswerScoringAdjustable.
Definition at line 232 of file class.assOrderingQuestionGUI.php.
References ilPropertyFormGUI\addItem(), and assQuestionGUI\isRenderPurposePrintPdf().
Referenced by buildEditForm().
Here is the call graph for this function:
Here is the caller graph for this function:| assOrderingQuestionGUI::populateCorrectionsFormProperties | ( | ilPropertyFormGUI | $form | ) |
| ilPropertyFormGUI | $form |
Reimplemented from assQuestionGUI.
Definition at line 861 of file class.assOrderingQuestionGUI.php.
References ilPropertyFormGUI\addItem().
Here is the call graph for this function:| assOrderingQuestionGUI::populateQuestionSpecificFormPart | ( | \ilPropertyFormGUI | $form | ) |
Definition at line 249 of file class.assOrderingQuestionGUI.php.
References ilPropertyFormGUI\addItem().
Referenced by buildEditForm().
Here is the call graph for this function:
Here is the caller graph for this function:| assOrderingQuestionGUI::prepareReprintableCorrectionsForm | ( | ilPropertyFormGUI | $form | ) |
| ilPropertyFormGUI | $form |
Reimplemented from assQuestionGUI.
Definition at line 852 of file class.assOrderingQuestionGUI.php.
References ilPropertyFormGUI\getItemByPostVar(), and assOrderingQuestion\ORDERING_ELEMENT_FORM_FIELD_POSTVAR.
Here is the call graph for this function:| assOrderingQuestionGUI::removeElementImage | ( | ) |
Definition at line 136 of file class.assOrderingQuestionGUI.php.
References uploadElementImage().
Here is the call graph for this function:| assOrderingQuestionGUI::renderAggregateView | ( | $aggregate | ) |
| $aggregate |
Definition at line 735 of file class.assOrderingQuestionGUI.php.
References assQuestionGUI\$tpl.
Referenced by getAggregatedAnswersView().
Here is the caller graph for this function:| assOrderingQuestionGUI::saveCorrectionsFormProperties | ( | ilPropertyFormGUI | $form | ) |
| ilPropertyFormGUI | $form |
Reimplemented from assQuestionGUI.
Definition at line 888 of file class.assOrderingQuestionGUI.php.
References fetchSolutionListFromSubmittedForm(), and ilPropertyFormGUI\getInput().
Here is the call graph for this function:| assOrderingQuestionGUI::saveNesting | ( | ) |
Definition at line 107 of file class.assOrderingQuestionGUI.php.
References $_POST, buildNestingForm(), editNesting(), and F_NESTED_ORDER.
Here is the call graph for this function:| assOrderingQuestionGUI::supportsIntermediateSolutionOutput | ( | ) |
Question type specific support of intermediate solution output The function getSolutionOutput respects getUseIntermediateSolution()
Reimplemented from assQuestionGUI.
Definition at line 401 of file class.assOrderingQuestionGUI.php.
| assOrderingQuestionGUI::uploadElementImage | ( | ) |
Definition at line 141 of file class.assOrderingQuestionGUI.php.
References $filename, buildEditForm(), editQuestion(), fetchSolutionListFromSubmittedForm(), ilUtil\sendFailure(), assQuestionGUI\writeQuestionGenericPostData(), and writeQuestionSpecificPostData().
Referenced by removeElementImage().
Here is the call graph for this function:
Here is the caller graph for this function:| assOrderingQuestionGUI::writeAnswerSpecificPostData | ( | ilPropertyFormGUI | $form | ) |
Extracts the answer specific values from $_POST and applies them to the data object.
| bool | $always | If true, a check for form validity is omitted. |
Implements ilGuiAnswerScoringAdjustable.
Definition at line 225 of file class.assOrderingQuestionGUI.php.
References fetchSolutionListFromSubmittedForm().
Referenced by writePostData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
{Evaluates a posted edit form and writes the form data in the question object.
parent::save calls this->writePostData. afterwards, object->saveToDb is called.
Reimplemented from assQuestionGUI.
Definition at line 293 of file class.assOrderingQuestionGUI.php.
References addEditSubtabs(), buildEditForm(), assQuestionGUI\renderEditForm(), assQuestionGUI\saveTaxonomyAssignments(), writeAnswerSpecificPostData(), assQuestionGUI\writeQuestionGenericPostData(), and writeQuestionSpecificPostData().
Here is the call graph for this function:| assOrderingQuestionGUI::writeQuestionSpecificPostData | ( | ilPropertyFormGUI | $form | ) |
Extracts the question specific values from $_POST and applies them to the data object.
| bool | $always | If true, a check for form validity is omitted. |
Implements ilGuiQuestionScoringAdjustable.
Definition at line 179 of file class.assOrderingQuestionGUI.php.
References $_POST, and F_USE_NESTED.
Referenced by uploadElementImage(), and writePostData().
Here is the caller graph for this function:| assOrderingQuestionGUI::$leveled_ordering = array() |
Definition at line 46 of file class.assOrderingQuestionGUI.php.
| assOrderingQuestionGUI::$object |
Definition at line 43 of file class.assOrderingQuestionGUI.php.
| assOrderingQuestionGUI::$old_ordering_depth = array() |
Definition at line 45 of file class.assOrderingQuestionGUI.php.
| const assOrderingQuestionGUI::CMD_EDIT_NESTING = 'editNesting' |
Definition at line 26 of file class.assOrderingQuestionGUI.php.
| const assOrderingQuestionGUI::CMD_SAVE_NESTING = 'saveNesting' |
Definition at line 27 of file class.assOrderingQuestionGUI.php.
| const assOrderingQuestionGUI::CMD_SWITCH_TO_PICTURESS = 'changeToPictures' |
Definition at line 29 of file class.assOrderingQuestionGUI.php.
Referenced by ilAssOrderingQuestionAuthoringFormGUI\__construct(), and ilAssOrderingQuestionAuthoringFormGUI\addSpecificOrderingQuestionCommandButtons().
| const assOrderingQuestionGUI::CMD_SWITCH_TO_TERMS = 'changeToText' |
Definition at line 28 of file class.assOrderingQuestionGUI.php.
Referenced by ilAssOrderingQuestionAuthoringFormGUI\__construct(), and ilAssOrderingQuestionAuthoringFormGUI\addSpecificOrderingQuestionCommandButtons().
| const assOrderingQuestionGUI::F_NESTED_IDENTIFIER_PREFIX = ilIdentifiedMultiValuesJsPositionIndexRemover::IDENTIFIER_INDICATOR_PREFIX |
Definition at line 38 of file class.assOrderingQuestionGUI.php.
| const assOrderingQuestionGUI::F_NESTED_ORDER = 'order_elems' |
Definition at line 35 of file class.assOrderingQuestionGUI.php.
Referenced by saveNesting().
| const assOrderingQuestionGUI::F_NESTED_ORDER_INDENT = 'indentation' |
Definition at line 37 of file class.assOrderingQuestionGUI.php.
| const assOrderingQuestionGUI::F_NESTED_ORDER_ORDER = 'content' |
Definition at line 36 of file class.assOrderingQuestionGUI.php.
| const assOrderingQuestionGUI::F_USE_NESTED = 'nested_answers' |
Definition at line 34 of file class.assOrderingQuestionGUI.php.
Referenced by fetchSolutionListFromSubmittedForm(), and writeQuestionSpecificPostData().
| const assOrderingQuestionGUI::TAB_EDIT_NESTING = 'edit_nesting' |
Definition at line 32 of file class.assOrderingQuestionGUI.php.
| const assOrderingQuestionGUI::TAB_EDIT_QUESTION = 'edit_question' |
Definition at line 31 of file class.assOrderingQuestionGUI.php.