Source for file EntityLookup.php
Documentation is available at EntityLookup.php
* Object that provides entity lookup table from entity name to character
* Assoc array of entity name to character represented.
* Sets up the entity lookup table from the serialized file contents.
* @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
public function setup($file =
false) {
* Retrieves sole instance of the object.
* @param Optional prototype of custom lookup table to overload with.
public static function instance($prototype =
false) {
// no references, since PHP doesn't copy unless modified
$instance =
new HTMLPurifier_EntityLookup();
Documentation generated on Thu, 19 Jun 2008 18:49:08 -0400 by phpDocumentor 1.4.2