HTMLPurifier_EntityLookup
in package
Object that provides entity lookup table from entity name to character
Table of Contents
Properties
- $table : mixed
- Assoc array of entity name to character represented.
Methods
- instance() : HTMLPurifier_EntityLookup
- Retrieves sole instance of the object.
- setup() : mixed
- Sets up the entity lookup table from the serialized file contents.
Properties
$table
Assoc array of entity name to character represented.
public
mixed
$table
Tags
Methods
instance()
Retrieves sole instance of the object.
public
static instance([bool|HTMLPurifier_EntityLookup $prototype = false ]) : HTMLPurifier_EntityLookup
Parameters
- $prototype : bool|HTMLPurifier_EntityLookup = false
-
Optional prototype of custom lookup table to overload with.
Return values
HTMLPurifier_EntityLookupsetup()
Sets up the entity lookup table from the serialized file contents.
public
setup([bool $file = false ]) : mixed
Parameters
- $file : bool = false