HumHub Documentation (unofficial)

HTMLPurifier_EntityLookup
in package

Object that provides entity lookup table from entity name to character

Table of Contents

Properties

$table  : mixed
Assoc array of entity name to character represented.

Methods

instance()  : HTMLPurifier_EntityLookup
Retrieves sole instance of the object.
setup()  : mixed
Sets up the entity lookup table from the serialized file contents.

Properties

$table

Assoc array of entity name to character represented.

public mixed $table
Tags
type

array

Methods

setup()

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

public setup([bool $file = false ]) : mixed
Parameters
$file : bool = false
Tags
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


        
On this page

Search results