ILIAS  Release_4_4_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 ($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.

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 assOrderingQuestionGUI, assMatchingQuestionGUI, assClozeTestGUI, assMultipleChoiceGUI, assSingleChoiceGUI, 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, and assOrderingQuestionGUI.

ilGuiAnswerScoringAdjustable::writeAnswerSpecificPostData (   $always)

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, assNumericGUI, assTextSubsetGUI, assOrderingQuestionGUI, assClozeTestGUI, and assMatchingQuestionGUI.


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