JFilterInputJFilterInput is a class for filtering input from any data source
Forked from the php input filter library by: Daniel Morris <dan@rootcube.com> Original Contributors: Gianpaolo Racca, Ghislain Picard, Marco Wandschneider, Chris Tobin and Andrew Eddie.
Located in /libraries/joomla/filter/input.php (line 22)
static JFilterInput
&getInstance
([array $tagsArray = array()], [array $attrArray = array()], [integer $tagsMethod = 0], [integer $attrMethod = 0], [integer $xssAuto = 1])
JFilterInput
__construct
([array $tagsArray = array()], [array $attrArray = array()], [integer $tagsMethod = 0], [integer $attrMethod = 0], [integer $xssAuto = 1])
static array
$instances
= array() (line 30)
A container for JFilterInput instances.
array
$attrArray
(line 46)
The array of permitted tag attributes (white list).
array
$attrBlacklist
= array(
The list of the default blacklisted tag attributes. All event handlers implicit.
integer
$attrMethod
(line 62)
The method for sanitising attributes: WhiteList method = 0 (default), BlackList method = 1
array
$tagBlacklist
= array(
The list of the default blacklisted tags.
array
$tagsArray
(line 38)
The array of permitted tags (white list).
integer
$tagsMethod
(line 54)
The method for sanitising tags: WhiteList method = 0 (default), BlackList method = 1
integer
$xssAuto
(line 70)
A flag for XSS checks. Only auto clean essentials = 0, Allow clean blacklisted tags/attr = 1
Function to determine if contents of an attribute are safe
Returns an input filter object, only creating it if it doesn't already exist.
Constructor for inputFilter class. Only first parameter is required.
Method to be called by another php script. Processes for XSS and specified bad code.
Internal method to strip a tag of certain attributes
Internal method to strip a string of certain tags
Try to convert to plaintext
Escape < > and " inside attribute values
Internal method to iteratively remove all unwanted tags and attributes
Remove CSS Expressions in the form of <property>:expression(...)
Documentation generated on Tue, 19 Nov 2013 15:05:35 +0100 by phpDocumentor 1.4.3