ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilMultiFilesSubmitRecursiveSlashesStripper.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once
'Services/Form/classes/class.ilFormSubmitRecursiveSlashesStripper.php'
;
5
12
class
ilMultiFilesSubmitRecursiveSlashesStripper
implements
ilFormValuesManipulator
13
{
17
protected
$postVar
= null;
18
22
public
function
getPostVar
()
23
{
24
return
$this->postVar
;
25
}
26
30
public
function
setPostVar
(
$postVar
)
31
{
32
$this->postVar =
$postVar
;
33
}
34
39
public
function
manipulateFormInputValues
($inputValues)
40
{
41
return
$inputValues;
42
}
43
48
public
function
manipulateFormSubmitValues
($submitValues)
49
{
50
$this->
manipulateFileSubmitValues
();
51
return
$submitValues;
52
}
53
57
protected
function
manipulateFileSubmitValues
()
58
{
59
if
($_FILES) {
60
$_FILES[$this->
getPostVar
()] =
ilUtil::stripSlashesRecursive
(
61
$_FILES[$this->
getPostVar
()]
62
);
63
}
64
}
65
}
ilFormValuesManipulator
Definition:
interface.ilFormValuesManipulator.php:10
ilMultiFilesSubmitRecursiveSlashesStripper\manipulateFormSubmitValues
manipulateFormSubmitValues($submitValues)
Definition:
class.ilMultiFilesSubmitRecursiveSlashesStripper.php:48
ilMultiFilesSubmitRecursiveSlashesStripper\getPostVar
getPostVar()
Definition:
class.ilMultiFilesSubmitRecursiveSlashesStripper.php:22
ilMultiFilesSubmitRecursiveSlashesStripper\$postVar
$postVar
Definition:
class.ilMultiFilesSubmitRecursiveSlashesStripper.php:17
ilMultiFilesSubmitRecursiveSlashesStripper\manipulateFormInputValues
manipulateFormInputValues($inputValues)
Definition:
class.ilMultiFilesSubmitRecursiveSlashesStripper.php:39
ilMultiFilesSubmitRecursiveSlashesStripper\setPostVar
setPostVar($postVar)
Definition:
class.ilMultiFilesSubmitRecursiveSlashesStripper.php:30
ilUtil\stripSlashesRecursive
static stripSlashesRecursive($a_data, $a_strip_html=true, $a_allow="")
Strip slashes from array and sub-arrays.
Definition:
class.ilUtil.php:2382
ilMultiFilesSubmitRecursiveSlashesStripper\manipulateFileSubmitValues
manipulateFileSubmitValues()
perform the strip slashing on files submit
Definition:
class.ilMultiFilesSubmitRecursiveSlashesStripper.php:57
ilMultiFilesSubmitRecursiveSlashesStripper
Definition:
class.ilMultiFilesSubmitRecursiveSlashesStripper.php:12
php
Services
Form
classes
class.ilMultiFilesSubmitRecursiveSlashesStripper.php
Generated on Thu Jan 30 2025 19:01:58 for ILIAS by
1.8.13 (using
Doxyfile
)