JFilterInput::clean
Method to be called by another php script. Processes for XSS and specified bad code.
Signature
public function clean(mixed
$source,
[string
$type = 'string'] )
Parameters
-
$source
- Input string/array-of-string to be 'cleaned'
-
$type
- The return type for the variable:
Returns
- mixed
- 'Cleaned' version of input parameter