ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilMultiFilesSubmitRecursiveSlashesStripper Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilMultiFilesSubmitRecursiveSlashesStripper:
+ Collaboration diagram for ilMultiFilesSubmitRecursiveSlashesStripper:

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

 $postVar = null
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

Author
Björn Heyser bheys.nosp@m.er@d.nosp@m.ataba.nosp@m.y.de

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

Member Function Documentation

◆ getPostVar()

ilMultiFilesSubmitRecursiveSlashesStripper::getPostVar ( )
Returns
string

Definition at line 32 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 67 of file class.ilMultiFilesSubmitRecursiveSlashesStripper.php.

67 : void
68 {
69 if ($_FILES) {
71 $_FILES[$this->getPostVar()]
72 );
73 }
74 }
static stripSlashesRecursive($a_data, bool $a_strip_html=true, string $a_allow="")

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

Referenced by manipulateFormSubmitValues().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ manipulateFormInputValues()

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

Implements ilFormValuesManipulator.

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

49 : array
50 {
51 return $inputValues;
52 }

◆ manipulateFormSubmitValues()

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

Implements ilFormValuesManipulator.

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

58 : array
59 {
61 return $submitValues;
62 }

References manipulateFileSubmitValues().

+ Here is the call graph for this function:

◆ setPostVar()

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

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

40 : void
41 {
42 $this->postVar = $postVar;
43 }

References $postVar.

Field Documentation

◆ $postVar

ilMultiFilesSubmitRecursiveSlashesStripper::$postVar = null
protected

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

Referenced by getPostVar(), and setPostVar().


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