ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilFormSubmitRecursiveSlashesStripper Class Reference
+ Inheritance diagram for ilFormSubmitRecursiveSlashesStripper:
+ Collaboration diagram for ilFormSubmitRecursiveSlashesStripper:

Public Member Functions

 manipulateFormInputValues ($inputValues)
 
 manipulateFormSubmitValues ($submitValues)
 

Detailed Description

Member Function Documentation

◆ manipulateFormInputValues()

ilFormSubmitRecursiveSlashesStripper::manipulateFormInputValues (   $inputValues)
Parameters
array$inputValues
Returns
array

Implements ilFormValuesManipulator.

Definition at line 18 of file class.ilFormSubmitRecursiveSlashesStripper.php.

19  {
20  return $inputValues;
21  }

◆ manipulateFormSubmitValues()

ilFormSubmitRecursiveSlashesStripper::manipulateFormSubmitValues (   $submitValues)
Parameters
array$submitValues
Returns
array|mixed|string
Exceptions
ilFormException

Implements ilFormValuesManipulator.

Definition at line 28 of file class.ilFormSubmitRecursiveSlashesStripper.php.

References ilUtil\stripSlashesRecursive().

29  {
30  foreach ($submitValues as $identifier => $value) {
31  if (is_object($value)) {
32  // post submit does not support objects, so when
33  // object building happened, sanitizing did also
34  continue;
35  }
36 
37  $submitValues[$identifier] = ilUtil::stripSlashesRecursive($value);
38  }
39 
40  return $submitValues;
41  }
static stripSlashesRecursive($a_data, $a_strip_html=true, $a_allow="")
Strip slashes from array and sub-arrays.
+ Here is the call graph for this function:

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