4require_once
'Services/Form/interfaces/interface.ilFormValuesManipulator.php';
26 if (!is_array($values) || !isset($values[
'content'])) {
35 if (!is_array($values) || !isset($values[
'indentation'])) {
45 $actualValues = array();
47 foreach ($values[
'content'] as $key => $value) {
48 if (!isset($values[
'indentation'][$key])) {
49 $actualValues[$key] =
null;
53 $actualValues[$key] = $values[
'indentation'][$key];
56 $actualValues = $values;
An exception for terminatinating execution or to throw for unit testing.
hasContentSubLevel($values)
hasIndentationsSubLevel($values)
fetchIndentationsFromSubmitValues($values)
manipulateFormInputValues($inputValues)
manipulateFormSubmitValues($submitValues)