4 require_once
'Services/Form/classes/class.ilTextInputGUI.php';
5 require_once
'Services/Form/interfaces/interface.ilMultiValuesItem.php';
31 parent::__construct($a_title, $a_postvar);
33 require_once
'Services/Form/classes/class.ilFormSubmitRecursiveSlashesStripper.php';
36 require_once
'Services/Form/classes/class.ilIdentifiedMultiValuesJsPositionIndexRemover.php';
87 require_once
'Services/Form/exceptions/class.ilFormException.php';
88 throw new ilFormException(
'setter unsupported, use setIdentifiedMultiValues() instead!');
93 require_once
'Services/Form/exceptions/class.ilFormException.php';
94 throw new ilFormException(
'setter unsupported, use setIdentifiedMultiValues() instead!');
99 require_once
'Services/Form/exceptions/class.ilFormException.php';
100 throw new ilFormException(
'setter unsupported, use setIdentifiedMultiValues() instead!');
105 require_once
'Services/Form/exceptions/class.ilFormException.php';
106 throw new ilFormException(
'setter unsupported, use setIdentifiedMultiValues() instead!');
111 require_once
'Services/Form/exceptions/class.ilFormException.php';
112 throw new ilFormException(
'setter unsupported, use setIdentifiedMultiValues() instead!');
117 require_once
'Services/Form/exceptions/class.ilFormException.php';
118 throw new ilFormException(
'setter unsupported, use setIdentifiedMultiValues() instead!');
136 return $multiValueFieldId;
144 return $multiValueFieldId;
152 return $multiValueFieldId;
165 return $multiValueFieldId;
192 $elemPostVar .=
"[$positionIndex]";
200 $elemPostVar .=
"[$identifier]";
206 $elemSubmitVar =
"cmd[{$submitCommand}][{$this->getFieldId()}]";
207 $elemSubmitVar .=
"[$identifier][$positionIndex]";
209 return $elemSubmitVar;
214 if (!is_array($a_values[$this->
getPostVar()])) {
227 $this->identified_multi_values = $a_values[$this->
getPostVar()];
272 $this->formValuesManipulationChain[] = $manipulator;
282 $fieldPostVar =
"{$this->getPostVar()}[$subFieldIndex]";
283 $elemPostVar = str_replace($this->
getPostVar(), $fieldPostVar, $elemPostVar);
Abstract basic class which is to be extended by the concrete assessment question type classes...
This class represents a text property in a property form.
Interface for multi values support.