ILIAS
Release_5_0_x_branch Revision 61816
|
Interface ilGuiAnswerScoringAdjustable. More...
Public Member Functions | |
populateAnswerSpecificFormPart (ilPropertyFormGUI $form) | |
Adds the answer specific form parts to a question property form gui. | |
writeAnswerSpecificPostData (ilPropertyFormGUI $form) | |
Extracts the answer specific values from $_POST and applies them to the data object. | |
getAfterParticipationSuppressionAnswerPostVars () | |
Returns a list of postvars which will be suppressed in the form output when used in scoring adjustment. |
Interface ilGuiAnswerScoringAdjustable.
This is the extended interface for questions, which support the relevant object-class methods for post-test-scoring adjustments. This is the gui-part of the interfaces.
Definition at line 19 of file interface.ilGuiAnswerScoringAdjustable.php.
ilGuiAnswerScoringAdjustable::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')
Implemented in assClozeTestGUI, assOrderingQuestionGUI, assMatchingQuestionGUI, assImagemapQuestionGUI, assMultipleChoiceGUI, assKprimChoiceGUI, assSingleChoiceGUI, assTextQuestionGUI, assErrorTextGUI, assTextSubsetGUI, and assNumericGUI.
ilGuiAnswerScoringAdjustable::populateAnswerSpecificFormPart | ( | ilPropertyFormGUI | $form | ) |
Adds the answer specific form parts to a question property form gui.
ilPropertyFormGUI | $form |
Implemented in assClozeTestGUI, assOrderingQuestionGUI, assKprimChoiceGUI, and assErrorTextGUI.
ilGuiAnswerScoringAdjustable::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. |
Implemented in assMultipleChoiceGUI, assSingleChoiceGUI, assTextQuestionGUI, assTextSubsetGUI, assNumericGUI, assKprimChoiceGUI, assOrderingQuestionGUI, assClozeTestGUI, assImagemapQuestionGUI, assErrorTextGUI, and assMatchingQuestionGUI.