ILIAS
Release_4_4_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 ($always) | |
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 assOrderingQuestionGUI, assMatchingQuestionGUI, assClozeTestGUI, assMultipleChoiceGUI, assSingleChoiceGUI, assTextSubsetGUI, and assNumericGUI.
ilGuiAnswerScoringAdjustable::populateAnswerSpecificFormPart | ( | ilPropertyFormGUI | $form | ) |
Adds the answer specific form parts to a question property form gui.
ilPropertyFormGUI | $form |
Implemented in assClozeTestGUI, and assOrderingQuestionGUI.
ilGuiAnswerScoringAdjustable::writeAnswerSpecificPostData | ( | $always | ) |
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, assNumericGUI, assTextSubsetGUI, assOrderingQuestionGUI, assClozeTestGUI, and assMatchingQuestionGUI.