|
| | setup ($file=false) |
| | Sets up the entity lookup table from the serialized file contents.
|
| |
|
| static | instance ($prototype=false) |
| | Retrieves sole instance of the object.
|
| |
|
| | $table |
| | Assoc array of entity name to character represented.
|
| |
◆ instance()
| static HTMLPurifier_EntityLookup::instance |
( |
| $prototype = false | ) |
|
|
static |
Retrieves sole instance of the object.
- Parameters
-
- Return values
-
◆ setup()
| HTMLPurifier_EntityLookup::setup |
( |
| $file = false | ) |
|
Sets up the entity lookup table from the serialized file contents.
- Parameters
-
- 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
◆ $table
| HTMLPurifier_EntityLookup::$table |
Assoc array of entity name to character represented.
@type array
The documentation for this class was generated from the following file:
- lib/htmlpurifier/HTMLPurifier/EntityLookup.php