\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.

Methods

setup()

setup(bool  $file = false) : mixed

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

Parameters

bool $file

Returns

mixed —

instance()

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

Retrieves sole instance of the object.

Parameters

bool|\HTMLPurifier_EntityLookup $prototype

Optional prototype of custom lookup table to overload with.

Returns

\HTMLPurifier_EntityLookup —