HTMLPurifier 4.4.0
HTMLPurifier_EntityLookup Class Reference

Object that provides entity lookup table from entity name to character. More...

List of all members.

Public Member Functions

 setup ($file=false)
 Sets up the entity lookup table from the serialized file contents.
 setup ($file=false)
 Sets up the entity lookup table from the serialized file contents.

Static Public Member Functions

static instance ($prototype=false)
 Retrieves sole instance of the object.
static instance ($prototype=false)
 Retrieves sole instance of the object.

Public Attributes

 $table
 Assoc array of entity name to character represented.

Detailed Description

Object that provides entity lookup table from entity name to character.

Definition at line 6 of file EntityLookup.php.


Member Function Documentation

static HTMLPurifier_EntityLookup::instance ( prototype = false) [static]

Retrieves sole instance of the object.

Parameters:
Optionalprototype of custom lookup table to overload with.

Definition at line 30 of file EntityLookup.php.

Referenced by HTMLPurifier_EntityParser::nonSpecialEntityCallback().

static HTMLPurifier_EntityLookup::instance ( prototype = false) [static]

Retrieves sole instance of the object.

Parameters:
Optionalprototype of custom lookup table to overload with.

Definition at line 3587 of file HTMLPurifier.standalone.php.

HTMLPurifier_EntityLookup::setup ( file = false)

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

Note:
The serialized contents are versioned, but were generated using the maintenance script generate_entity_file.php
Warning:
This is not in constructor to help enforce the Singleton

Definition at line 3576 of file HTMLPurifier.standalone.php.

HTMLPurifier_EntityLookup::setup ( file = false)

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

Note:
The serialized contents are versioned, but were generated using the maintenance script generate_entity_file.php
Warning:
This is not in constructor to help enforce the Singleton

Definition at line 19 of file EntityLookup.php.


Member Data Documentation

HTMLPurifier_EntityLookup::$table

Assoc array of entity name to character represented.

Definition at line 11 of file EntityLookup.php.


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