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 { ...@@ -178,12 +178,12 @@ class Sanitize {
} // safeFilename() } // safeFilename()
/** /**
* Iterates over all elements of the given array and normalize the input. Only strings will be normalized. * Take the given $item (or iterates over all elements of the given array) and normalize the content.
* Sub arrays will be recursive normalized. Skip numeric content. * Only strings will be normalized. Sub arrays will be recursived normalized. Numeric 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
......
Supports Markdown
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