|
| | addDecorator ($decorator) |
| | Registers a decorator to add to all new cache objects.
|
| |
| | create ($type, $config) |
| | Factory method that creates a cache object based on configuration.
|
| |
| | register ($short, $long) |
| | Registers a new definition cache object.
|
| |
|
| setup () |
| | Initialize default decorators.
|
| |
|
| static | instance ($prototype=null) |
| | Retrieves an instance of global definition cache factory.
|
| |
◆ addDecorator()
| HTMLPurifier_DefinitionCacheFactory::addDecorator |
( |
| $decorator | ) |
|
Registers a decorator to add to all new cache objects.
- Parameters
-
◆ create()
| HTMLPurifier_DefinitionCacheFactory::create |
( |
| $type, |
|
|
| $config ) |
Factory method that creates a cache object based on configuration.
- Parameters
-
- Return values
-
◆ instance()
| static HTMLPurifier_DefinitionCacheFactory::instance |
( |
| $prototype = null | ) |
|
|
static |
Retrieves an instance of global definition cache factory.
- Parameters
-
- Return values
-
◆ register()
| HTMLPurifier_DefinitionCacheFactory::register |
( |
| $short, |
|
|
| $long ) |
Registers a new definition cache object.
- Parameters
-
| string | $short | Short name of cache object, for reference |
| string | $long | Full class name of cache object, for construction |
The documentation for this class was generated from the following file:
- lib/htmlpurifier/HTMLPurifier/DefinitionCacheFactory.php