Class HTMLPurifier_LanguageFactory
Class responsible for generating HTMLPurifier_Language objects, managing caching and fallbacks.
Note:
Thanks to MediaWiki for the general logic, although this version has been
entirely rewritten
Located at xoops_trust_path/libs/htmlpurifier/library/HTMLPurifier/LanguageFactory.php
Located at xoops_trust_path/libs/htmlpurifier/library/HTMLPurifier/LanguageFactory.php
public static
|
|
public
|
|
public
|
|
public
|
|
public
|
public
|
$cache |
|
#
Cache of language code information used to load HTMLPurifier_Language objects Structure is: $factory->cache[$language_code][$key] = $value |
public
array
|
$keys | array('fallback', 'messages', 'errorNames') |
#
Valid keys in the HTMLPurifier_Language object. Designates which variables to slurp out of a message file. |
protected
|
$validator |
|
#
Instance of HTMLPurifier_AttrDef_Lang to validate language codes |
protected
|
$dir |
|
#
Cached copy of dirname(__FILE__), directory of current file without trailing slash |
protected
array
|
$mergeable_keys_map | array('messages' => true, 'errorNames' => true) |
#
Keys whose contents are a hash map and can be merged |
protected
array
|
$mergeable_keys_list | array() |
#
Keys whose contents are a list and can be merged |