\HTMLPurifier_EntityLookup

Object that provides entity lookup table from entity name to character

Summary

Methods
Properties
Constants
setup()
instance()
$table
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$table

$table : 

Assoc array of entity name to character represented.

Type

Methods

setup()

setup(boolean  $file = false) 

Sets up the entity lookup table from the serialized file contents.

Parameters

boolean $file

instance()

instance(boolean|\HTMLPurifier_EntityLookup  $prototype = false) : \HTMLPurifier_EntityLookup

Retrieves sole instance of the object.

Parameters

boolean|\HTMLPurifier_EntityLookup $prototype

Optional prototype of custom lookup table to overload with.

Returns

\HTMLPurifier_EntityLookup