JFilterInput::getInstance
Returns an input filter object, only creating it if it doesn't already exist.
Signature
public function getInstance(array
$tagsArray,
[array
$attrArray = 0,
[integer
$tagsMethod = 0,
[integer
$attrMethod = 0,
[integer
$xssAuto = 1]]]] )
Parameters
-
$tagsArray
- List of user-defined tags
-
$attrArray
- List of user-defined attributes
-
$tagsMethod
- WhiteList method = 0, BlackList method = 1
-
$attrMethod
- WhiteList method = 0, BlackList method = 1
-
$xssAuto
- Only auto clean essentials = 0, Allow clean blacklisted tags/attr = 1
Returns
- JFilterInput
- The JFilterInput object.