Support Joomla!

references:joomla.framework:filter:jfilterinput-clean

Table of Contents

clean

API Package Subpackage Class Method Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage Filter Class JFilterInput Method clean Reference clean() Never Work in Progress

Method to be called by another php script. Processes for XSS and specified bad code.

Syntax

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)

Examples

Example


 
references/joomla.framework/filter/jfilterinput-clean.txt (416 views) · Last modified: 2007/08/15 15:07