45 $this->
getItemByPostVar(
'answer_presentation')->setValue($a_values[
'answer']);
46 parent::setValuesByArray($a_values, $a_restrict_to_value_keys);
100 $answer->setPostVar(
'answer_presentation');
104 $points =
new ilNumberInputGUI($this->DIC->language()->txt(
'points'),
'points');
105 $points->setRequired(
true);
107 $points->allowDecimals(
true);
108 $points->setMinvalueShouldBeGreater(
true);
109 $points->setMinValue(0);
114 $this->
addItem($hiddenAnswerValue);
118 $this->
addItem($hiddenQuestionId);
122 $this->
addItem($hiddenQuestionIndex);
124 $this->
addCommandButton(
'addAnswerAsynch', $this->DIC->language()->txt(
'save'));
An exception for terminatinating execution or to throw for unit testing.
This class represents a non editable value in a property form.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc