Class HTMLPurifier_EntityLookup

InheritanceHTMLPurifier_EntityLookup

Object that provides entity lookup table from entity name to character

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$table Assoc array of entity name to character represented. HTMLPurifier_EntityLookup

Public Methods

Hide inherited methods

MethodDescriptionDefined By
instance() Retrieves sole instance of the object. HTMLPurifier_EntityLookup
setup() Sets up the entity lookup table from the serialized file contents. HTMLPurifier_EntityLookup

Property Details

$table public property
public $table null

Method Details

instance() public static method

Retrieves sole instance of the object.

public static HTMLPurifier_EntityLookup instance ( $prototype false )
$prototype bool|HTMLPurifier_EntityLookup

Optional prototype of custom lookup table to overload with.

setup() public method

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

public void setup ( $file false )
$file bool