Geschützte Methoden | |
parseImplementation ($var, $type, $allow_null) | |
![]() | |
parseImplementation ($var, $type, $allow_null) | |
error ($msg) | |
errorInconsistent ($class, $type) | |
errorGeneric ($var, $type) | |
Weitere Geerbte Elemente | |
![]() | |
parse ($var, $type, $allow_null=false) | |
![]() | |
static | getTypeName ($type) |
![]() | |
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 | $types |
static | $stringTypes |
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.
Definiert in Zeile 8 der Datei Flexible.php.
|
protected |
mixed | $var | |
int | $type | |
bool | $allow_null |
HTMLPurifier_VarParserException |
Definiert in Zeile 17 der Datei Flexible.php.
Benutzt HTMLPurifier_VarParser\errorGeneric() und HTMLPurifier_VarParser\errorInconsistent().