JFilterInput::__construct
Constructor for inputFilter class. Only first parameter is required.
Signature
public function __construct(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