ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilFormSubmitRecursiveSlashesStripper.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/interfaces/interface.ilFormValuesManipulator.php'
;
5
12
class
ilFormSubmitRecursiveSlashesStripper
implements
ilFormValuesManipulator
13
{
18
public
function
manipulateFormInputValues
($inputValues)
19
{
20
return
$inputValues;
21
}
22
28
public
function
manipulateFormSubmitValues
($submitValues)
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
}
42
}
ilFormSubmitRecursiveSlashesStripper
Definition:
class.ilFormSubmitRecursiveSlashesStripper.php:12
ilFormValuesManipulator
Definition:
interface.ilFormValuesManipulator.php:10
ilFormSubmitRecursiveSlashesStripper\manipulateFormSubmitValues
manipulateFormSubmitValues($submitValues)
Definition:
class.ilFormSubmitRecursiveSlashesStripper.php:28
ilUtil\stripSlashesRecursive
static stripSlashesRecursive($a_data, $a_strip_html=true, $a_allow="")
Strip slashes from array and sub-arrays.
Definition:
class.ilUtil.php:2384
ilFormSubmitRecursiveSlashesStripper\manipulateFormInputValues
manipulateFormInputValues($inputValues)
Definition:
class.ilFormSubmitRecursiveSlashesStripper.php:18
Services
Form
classes
class.ilFormSubmitRecursiveSlashesStripper.php
Generated on Fri Apr 4 2025 20:01:24 for ILIAS by
1.8.13 (using
Doxyfile
)