| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Performs safe variable parsing based on types which can be used by users. More...
 Inheritance diagram for HTMLPurifier_VarParser_Flexible:
 Inheritance diagram for HTMLPurifier_VarParser_Flexible: Collaboration diagram for HTMLPurifier_VarParser_Flexible:
 Collaboration diagram for HTMLPurifier_VarParser_Flexible:| Protected Member Functions | |
| parseImplementation ($var, $type, $allow_null) | |
| Actually implements the parsing. | |
|  Protected Member Functions inherited from HTMLPurifier_VarParser | |
| error ($msg) | |
| Throws an exception. | |
| errorInconsistent ($class, $type) | |
| Throws an inconsistency exception. | |
| errorGeneric ($var, $type) | |
| Generic error for if a type didn't work. | |
| Additional Inherited Members | |
|  Public Member Functions inherited from HTMLPurifier_VarParser | |
| parse ($var, $type, $allow_null=false) | |
| Validate a variable according to type. | |
|  Static Public Member Functions inherited from HTMLPurifier_VarParser | |
| static | getTypeName ($type) | 
|  Data Fields inherited from HTMLPurifier_VarParser | |
| const | STRING = 1 | 
| const | ISTRING = 2 | 
| const | TEXT = 3 | 
| const | ITEXT = 4 | 
| const | INT = 5 | 
| const | FLOAT = 6 | 
| const | BOOL = 7 | 
| const | LOOKUP = 8 | 
| const | ALIST = 9 | 
| const | HASH = 10 | 
| const | MIXED = 11 | 
|  Static Public Attributes inherited from HTMLPurifier_VarParser | |
| static | $types | 
| Lookup table of allowed types. | |
| static | $stringTypes | 
| Lookup table of types that are string, and can have aliases or allowed value lists. | |
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.
| 
 | 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().
 Here is the call graph for this function:
 Here is the call graph for this function: