See Release Notes
Long Term Support Release
(no description)
File Size: | 106 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
HTMLPurifier_DefinitionCacheFactory:: (5 methods):
setup()
instance()
register()
create()
addDecorator()
Class: HTMLPurifier_DefinitionCacheFactory - X-Ref
Responsible for creating definition caches.setup() X-Ref |
Initialize default decorators |
instance($prototype = null) X-Ref |
Retrieves an instance of global definition cache factory. param: HTMLPurifier_DefinitionCacheFactory $prototype return: HTMLPurifier_DefinitionCacheFactory |
register($short, $long) X-Ref |
Registers a new definition cache object param: string $short Short name of cache object, for reference param: string $long Full class name of cache object, for construction |
create($type, $config) X-Ref |
Factory method that creates a cache object based on configuration param: string $type Name of definitions handled by cache param: HTMLPurifier_Config $config Config instance return: mixed |
addDecorator($decorator) X-Ref |
Registers a decorator to add to all new cache objects param: HTMLPurifier_DefinitionCache_Decorator|string $decorator An instance or the name of a decorator |