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

Public Member Functions

 getPostVar ()
 
 setPostVar ($postVar)
 
 manipulateFormInputValues ($inputValues)
 
 manipulateFormSubmitValues ($submitValues)
 

Protected Member Functions

 manipulateFileSubmitValues ()
 perform the strip slashing on files submit More...
 

Protected Attributes

 $postVar = null
 

Detailed Description

Member Function Documentation

◆ getPostVar()

ilMultiFilesSubmitRecursiveSlashesStripper::getPostVar ( )
Returns
string

Definition at line 22 of file class.ilMultiFilesSubmitRecursiveSlashesStripper.php.

References $postVar.

Referenced by manipulateFileSubmitValues().

+ Here is the caller graph for this function:

◆ manipulateFileSubmitValues()

ilMultiFilesSubmitRecursiveSlashesStripper::manipulateFileSubmitValues ( )
protected

perform the strip slashing on files submit

Definition at line 57 of file class.ilMultiFilesSubmitRecursiveSlashesStripper.php.

References getPostVar(), and ilUtil\stripSlashesRecursive().

Referenced by manipulateFormSubmitValues().

58  {
59  if ($_FILES) {
60  $_FILES[$this->getPostVar()] = ilUtil::stripSlashesRecursive(
61  $_FILES[$this->getPostVar()]
62  );
63  }
64  }
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:
+ Here is the caller graph for this function:

◆ manipulateFormInputValues()

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

Implements ilFormValuesManipulator.

Definition at line 39 of file class.ilMultiFilesSubmitRecursiveSlashesStripper.php.

40  {
41  return $inputValues;
42  }

◆ manipulateFormSubmitValues()

ilMultiFilesSubmitRecursiveSlashesStripper::manipulateFormSubmitValues (   $submitValues)
Parameters
array$submitValues
Returns
array $submitValues

Implements ilFormValuesManipulator.

Definition at line 48 of file class.ilMultiFilesSubmitRecursiveSlashesStripper.php.

References manipulateFileSubmitValues().

49  {
51  return $submitValues;
52  }
manipulateFileSubmitValues()
perform the strip slashing on files submit
+ Here is the call graph for this function:

◆ setPostVar()

ilMultiFilesSubmitRecursiveSlashesStripper::setPostVar (   $postVar)
Parameters
string$postVar

Definition at line 30 of file class.ilMultiFilesSubmitRecursiveSlashesStripper.php.

References $postVar.

Field Documentation

◆ $postVar

ilMultiFilesSubmitRecursiveSlashesStripper::$postVar = null
protected

Definition at line 17 of file class.ilMultiFilesSubmitRecursiveSlashesStripper.php.

Referenced by getPostVar(), and setPostVar().


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