Commit 2e26f55b authored by Carsten  Rose's avatar Carsten Rose
Browse files

Sanatize.php: Update some doc

parent c67081e1
......@@ -178,12 +178,12 @@ class Sanitize {
} // safeFilename()
/**
* Iterates over all elements of the given array and normalize the input. Only strings will be normalized.
* Sub arrays will be recursive normalized. Skip numeric content.
* Throws an exception for everything else.
* Take the given $item (or iterates over all elements of the given array) and normalize the content.
* Only strings will be normalized. Sub arrays will be recursived normalized. Numeric content is skipped.
* 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
* with composed characters.
* with composed characters (happens e.g. on Apple Mac / Safari without special user invention).
*
* @param array|string $item
* @return array|string
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment