| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Filter |
JFilterInput |
clean |
clean() |
Never | Work in Progress |
Method to be called by another php script. Processes for XSS and specified bad code.
mixed clean ( $source, $type )
| $source | mixed | Input string/array-of-string to be ‘cleaned’ |
| $type | string | Return type for the variable (INT, FLOAT, BOOLEAN, WORD, ALNUM, CMD, BASE64, STRING, ARRAY, PATH, NONE) |
Example