Cheetah
Protected Member Functions | List of all members
HTMLPurifier_VarParser_Flexible Class Reference
Inheritance diagram for HTMLPurifier_VarParser_Flexible:
HTMLPurifier_VarParser

Protected Member Functions

 parseImplementation ($var, $type, $allow_null)
 
- Protected Member Functions inherited from HTMLPurifier_VarParser
 error ($msg)
 
 errorInconsistent ($class, $type)
 
 errorGeneric ($var, $type)
 

Additional Inherited Members

- Public Member Functions inherited from HTMLPurifier_VarParser
 parse ($var, $type, $allow_null=false)
 
- Static Public Member Functions inherited from HTMLPurifier_VarParser
static getTypeName ($type)
 
- Public Attributes inherited from HTMLPurifier_VarParser
const C_STRING = 1
 
const ISTRING = 2
 
const TEXT = 3
 
const ITEXT = 4
 
const C_INT = 5
 
const C_FLOAT = 6
 
const C_BOOL = 7
 
const LOOKUP = 8
 
const ALIST = 9
 
const HASH = 10
 
const C_MIXED = 11
 
- Static Public Attributes inherited from HTMLPurifier_VarParser
static $types
 
static $stringTypes
 

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 22422 of file HTMLPurifier.standalone.php.

Member Function Documentation

◆ parseImplementation()

HTMLPurifier_VarParser_Flexible::parseImplementation (   $var,
  $type,
  $allow_null 
)
protected
Parameters
mixed$var
int$type
bool$allow_null
Returns
array|bool|float|int|mixed|null|string
Exceptions
HTMLPurifier_VarParserException

Reimplemented from HTMLPurifier_VarParser.

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


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