Öffentliche Methoden | |
setup () | |
register ($short, $long) | |
create ($type, $config) | |
addDecorator ($decorator) | |
Öffentliche, statische Methoden | |
static | instance ($prototype=null) |
Geschützte Attribute | |
$caches = array('Serializer' => array()) | |
$implementations = array() | |
$decorators = array() | |
Responsible for creating definition caches.
Definiert in Zeile 6 der Datei DefinitionCacheFactory.php.
addDecorator | ( | $decorator) |
Registers a decorator to add to all new cache objects
HTMLPurifier_DefinitionCache_Decorator | string | $decorator | An instance or the name of a decorator |
Definiert in Zeile 96 der Datei DefinitionCacheFactory.php.
Wird benutzt von setup().
create | ( | $type, | |
$config | |||
) |
Factory method that creates a cache object based on configuration
string | $type | Name of definitions handled by cache |
HTMLPurifier_Config | $config | Config instance |
Definiert in Zeile 64 der Datei DefinitionCacheFactory.php.
|
static |
Retrieves an instance of global definition cache factory.
HTMLPurifier_DefinitionCacheFactory | $prototype |
Definiert in Zeile 36 der Datei DefinitionCacheFactory.php.
Wird benutzt von HTMLPurifier_Config\getDefinition().
register | ( | $short, | |
$long | |||
) |
Registers a new definition cache object
string | $short | Short name of cache object, for reference |
string | $long | Full class name of cache object, for construction |
Definiert in Zeile 53 der Datei DefinitionCacheFactory.php.
setup | ( | ) |
Initialize default decorators
Definiert in Zeile 26 der Datei DefinitionCacheFactory.php.
Benutzt addDecorator().
|
protected |
array
Definiert in Zeile 11 der Datei DefinitionCacheFactory.php.
|
protected |
HTMLPurifier_DefinitionCache_Decorator[]
Definiert in Zeile 21 der Datei DefinitionCacheFactory.php.
|
protected |
array
Definiert in Zeile 16 der Datei DefinitionCacheFactory.php.