Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
2e26f55b
Commit
2e26f55b
authored
Feb 11, 2017
by
Carsten Rose
Browse files
Sanatize.php: Update some doc
parent
c67081e1
Changes
1
Show whitespace changes
Inline
Side-by-side
extension/qfq/qfq/helper/Sanitize.php
View file @
2e26f55b
...
@@ -178,12 +178,12 @@ class Sanitize {
...
@@ -178,12 +178,12 @@ class Sanitize {
}
// safeFilename()
}
// safeFilename()
/**
/**
*
I
terates over all elements of the given array and normalize the
input. Only strings will be normalized
.
*
Take the given $item (or i
terates over all elements of the given array
)
and normalize the
content
.
* Sub arrays will be recursive normalized.
Skip n
umeric content.
*
Only strings will be normalized.
Sub arrays will be recursive
d
normalized.
N
umeric content
is skipped
.
* Throws an exception for
everything else
.
* Throws an exception for
unknown content
.
*
*
* It's important to normalize the user input: e.g. someone is searching for a record and input the search string
* It's important to normalize the user input: e.g. someone is searching for a record and input the search string
* with composed characters.
* with composed characters
(happens e.g. on Apple Mac / Safari without special user invention)
.
*
*
* @param array|string $item
* @param array|string $item
* @return array|string
* @return array|string
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment