|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
This variable parser uses PHP's internal code engine. More...
Inheritance diagram for HTMLPurifier_VarParser_Native:
Collaboration diagram for HTMLPurifier_VarParser_Native:Protected Member Functions | |
| parseImplementation ($var, $type, $allow_null) | |
| evalExpression ($expr) | |
Protected Member Functions inherited from HTMLPurifier_VarParser | |
| parseImplementation ($var, $type, $allow_null) | |
| Actually implements the parsing. More... | |
| error ($msg) | |
| Throws an exception. More... | |
| errorInconsistent ($class, $type) | |
| Throws an inconsistency exception. More... | |
| errorGeneric ($var, $type) | |
| Generic error for if a type didn't work. More... | |
Additional Inherited Members | |
Public Member Functions inherited from HTMLPurifier_VarParser | |
| parse ($var, $type, $allow_null=false) | |
| Validate a variable according to type. More... | |
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. More... | |
| static | $stringTypes |
| Lookup table of types that are string, and can have aliases or allowed value lists. More... | |
This variable parser uses PHP's internal code engine.
Because it does this, it can represent all inputs; however, it is dangerous and cannot be used by users.
Definition at line 8 of file Native.php.
|
protected |
| string | $expr |
| HTMLPurifier_VarParserException |
Definition at line 27 of file Native.php.
References $result.
Referenced by parseImplementation().
Here is the caller graph for this function:
|
protected |
| mixed | $var | |
| int | $type | |
| bool | $allow_null |
Reimplemented from HTMLPurifier_VarParser.
Definition at line 17 of file Native.php.
References evalExpression().
Here is the call graph for this function: