ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilGuiAnswerScoringAdjustable Interface Reference

Interface ilGuiAnswerScoringAdjustable. More...

+ Inheritance diagram for ilGuiAnswerScoringAdjustable:
+ Collaboration diagram for ilGuiAnswerScoringAdjustable:

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.

Detailed Description

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.

See Also
ObjScoringAdjustable
ilGuiQuestionScoringAdjustable
Author
Maximilian Becker mbeck.nosp@m.er@d.nosp@m.ataba.nosp@m.y.de
Version
$Id$

Definition at line 19 of file interface.ilGuiAnswerScoringAdjustable.php.

Member Function Documentation

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')

Returns
string[]

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.

Parameters
ilPropertyFormGUI$form
Returns
ilPropertyFormGUI

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.

Parameters
bool$alwaysIf true, a check for form validity is omitted.
Returns
void

Implemented in assMultipleChoiceGUI, assSingleChoiceGUI, assTextQuestionGUI, assTextSubsetGUI, assNumericGUI, assKprimChoiceGUI, assOrderingQuestionGUI, assClozeTestGUI, assImagemapQuestionGUI, assErrorTextGUI, and assMatchingQuestionGUI.


The documentation for this interface was generated from the following file: