HTMLPurifier_EntityLookup
Object that provides entity lookup table from entity name to character
- Full name:
\HTMLPurifier_EntityLookup
Properties
table
Assoc array of entity name to character represented.
Methods
setup
Sets up the entity lookup table from the serialized file contents.
Parameters:
Parameter | Type | Description |
---|---|---|
$file |
bool |
instance
Retrieves sole instance of the object.
public static instance(bool|\HTMLPurifier_EntityLookup $prototype = false): \HTMLPurifier_EntityLookup
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$prototype |
bool|\HTMLPurifier_EntityLookup | Optional prototype of custom lookup table to overload with. |
Automatically generated on 2025-03-18