references:joomla.framework:environment:jrequest-cleanvarcleanVar
Utility method to clean a string variable using input filters. This function operates on strings. If an array is passed, the function recursively calls itself to traverse each element of the array. It will return raw variables which are not strings. Syntaxmixed cleanVar ( &$var, $mask )
The available masks are:
ExamplesExample $dirty = '<B>Testing cleaning<INPUT type="hidden" name="password" value="password" />'; echo JRequest::cleanVar ( $dirty ); |


