API - XOOPS 2.5.11 Beta 2
By monxoops.fr
HTMLPurifier_VarParser_Native Class Reference
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)
 
 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)
 
- Data Fields 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

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.

Member Function Documentation

◆ evalExpression()

evalExpression (   $expr)
protected
Parameters
string$expr
Returns
mixed
Exceptions
HTMLPurifier_VarParserException
Here is the caller graph for this function:

◆ parseImplementation()

parseImplementation (   $var,
  $type,
  $allow_null 
)
protected
Parameters
mixed$var
int$type
bool$allow_null
Returns
null|string

Reimplemented from HTMLPurifier_VarParser.

Here is the call graph for this function:

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