HTMLPurifier 4.4.0
HTMLPurifier_VarParser_Flexible Class Reference

Performs safe variable parsing based on types which can be used by users. More...

Inheritance diagram for HTMLPurifier_VarParser_Flexible:
HTMLPurifier_VarParser HTMLPurifier_VarParser

List of all members.

Protected Member Functions

 parseImplementation ($var, $type, $allow_null)
 Actually implements the parsing.
 parseImplementation ($var, $type, $allow_null)
 Actually implements the parsing.

Detailed Description

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.

Definition at line 8 of file Flexible.php.


Member Function Documentation

HTMLPurifier_VarParser_Flexible::parseImplementation ( var,
type,
allow_null 
) [protected]

Actually implements the parsing.

Base implementation is to not do anything to $var. Subclasses should overload this!

Reimplemented from HTMLPurifier_VarParser.

Definition at line 11 of file Flexible.php.

References HTMLPurifier_VarParser::errorGeneric(), and HTMLPurifier_VarParser::errorInconsistent().

HTMLPurifier_VarParser_Flexible::parseImplementation ( var,
type,
allow_null 
) [protected]

Actually implements the parsing.

Base implementation is to not do anything to $var. Subclasses should overload this!

Reimplemented from HTMLPurifier_VarParser.

Definition at line 17412 of file HTMLPurifier.standalone.php.

References HTMLPurifier_VarParser::errorGeneric(), and HTMLPurifier_VarParser::errorInconsistent().


The documentation for this class was generated from the following files: