Class HTMLPurifier_EntityLookup
Inheritance | HTMLPurifier_EntityLookup |
---|
Object that provides entity lookup table from entity name to character
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$table | Assoc array of entity name to character represented. | HTMLPurifier_EntityLookup |
Public Methods
Method | Description | Defined 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
Method Details
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. |
Sets up the entity lookup table from the serialized file contents.
public void setup ( $file = false ) | ||
$file | bool |