![]() |
API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Public Member Functions | |
| setup () | |
| register ($short, $long) | |
| create ($type, $config) | |
| addDecorator ($decorator) | |
Static Public Member Functions | |
| static | instance ($prototype=null) |
Protected Attributes | |
| $caches = array('Serializer' => array()) | |
| $implementations = array() | |
| $decorators = array() | |
Responsible for creating definition caches.
| 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 |

| 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 |
|
static |
Retrieves an instance of global definition cache factory.
| HTMLPurifier_DefinitionCacheFactory | $prototype |

| 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 |
| setup | ( | ) |
Initialize default decorators

|
protected |
@type array
|
protected |
|
protected |
@type array