API - XOOPS 2.5.11 Beta 2
By monxoops.fr
HTMLPurifier_EntityLookup Class Reference

Public Member Functions

 setup ($file=false)
 

Static Public Member Functions

static instance ($prototype=false)
 

Data Fields

 $table
 

Detailed Description

Object that provides entity lookup table from entity name to character

Member Function Documentation

◆ instance()

static instance (   $prototype = false)
static

Retrieves sole instance of the object.

Parameters
bool | HTMLPurifier_EntityLookup$prototypeOptional prototype of custom lookup table to overload with.
Returns
HTMLPurifier_EntityLookup
Here is the caller graph for this function:

◆ setup()

setup (   $file = false)

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

Parameters
bool$file
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

Field Documentation

◆ $table

$table

Assoc array of entity name to character represented. @type array


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