Class HTMLPurifier_VarParser_Flexible
Performs safe variable parsing based on types which can be used by users.
This may not be able to represent all possible data inputs, however.
-
HTMLPurifier_VarParser
-
HTMLPurifier_VarParser_Flexible
Methods summary
protected
array|boolean|float|integer|mixed|null|string
|
#
parseImplementation( mixed $var, integer $type, boolean $allow_null )
Parameters
- $var
mixed $var
- $type
integer $type
- $allow_null
boolean $allow_null
Returns
array|boolean|float|integer|mixed|null|string
Throws
Overrides
|
Constants inherited from HTMLPurifier_VarParser
ALIST,
BOOL,
FLOAT,
HASH,
INT,
ISTRING,
ITEXT,
LOOKUP,
MIXED,
STRING,
TEXT
|