Public Member Functions | |
| setup () | |
| Initialize default decorators. | |
| register ($short, $long) | |
| Registers a new definition cache object. | |
| create ($type, $config) | |
| Factory method that creates a cache object based on configuration. | |
| addDecorator ($decorator) | |
| Registers a decorator to add to all new cache objects. | |
| setup () | |
| Initialize default decorators. | |
| register ($short, $long) | |
| Registers a new definition cache object. | |
| create ($type, $config) | |
| Factory method that creates a cache object based on configuration. | |
| addDecorator ($decorator) | |
| Registers a decorator to add to all new cache objects. | |
Static Public Member Functions | |
| static | instance ($prototype=null) |
| Retrieves an instance of global definition cache factory. | |
| static | instance ($prototype=null) |
| Retrieves an instance of global definition cache factory. | |
Protected Attributes | |
| $caches = array('Serializer' => array()) | |
| $implementations = array() | |
| $decorators = array() | |
Definition at line 6 of file DefinitionCacheFactory.php.
| HTMLPurifier_DefinitionCacheFactory::setup | ( | ) |
Initialize default decorators.
Definition at line 16 of file DefinitionCacheFactory.php.
References addDecorator().
| static HTMLPurifier_DefinitionCacheFactory::instance | ( | $ | prototype = null |
) | [static] |
Retrieves an instance of global definition cache factory.
Definition at line 23 of file DefinitionCacheFactory.php.
Referenced by HTMLPurifier_Config::getDefinition().
| HTMLPurifier_DefinitionCacheFactory::register | ( | $ | short, | |
| $ | long | |||
| ) |
Registers a new definition cache object.
| $short | Short name of cache object, for reference | |
| $long | Full class name of cache object, for construction |
Definition at line 39 of file DefinitionCacheFactory.php.
| HTMLPurifier_DefinitionCacheFactory::create | ( | $ | type, | |
| $ | config | |||
| ) |
Factory method that creates a cache object based on configuration.
| $name | Name of definitions handled by cache | |
| $config | Instance of HTMLPurifier_Config |
Definition at line 48 of file DefinitionCacheFactory.php.
| HTMLPurifier_DefinitionCacheFactory::addDecorator | ( | $ | decorator | ) |
Registers a decorator to add to all new cache objects.
Definition at line 81 of file DefinitionCacheFactory.php.
Referenced by setup().
| HTMLPurifier_DefinitionCacheFactory::setup | ( | ) |
Initialize default decorators.
Definition at line 2283 of file HTMLPurifier.standalone.php.
References addDecorator().
| static HTMLPurifier_DefinitionCacheFactory::instance | ( | $ | prototype = null |
) | [static] |
Retrieves an instance of global definition cache factory.
Definition at line 2290 of file HTMLPurifier.standalone.php.
| HTMLPurifier_DefinitionCacheFactory::register | ( | $ | short, | |
| $ | long | |||
| ) |
Registers a new definition cache object.
| $short | Short name of cache object, for reference | |
| $long | Full class name of cache object, for construction |
Definition at line 2306 of file HTMLPurifier.standalone.php.
| HTMLPurifier_DefinitionCacheFactory::create | ( | $ | type, | |
| $ | config | |||
| ) |
Factory method that creates a cache object based on configuration.
| $name | Name of definitions handled by cache | |
| $config | Instance of HTMLPurifier_Config |
Definition at line 2315 of file HTMLPurifier.standalone.php.
| HTMLPurifier_DefinitionCacheFactory::addDecorator | ( | $ | decorator | ) |
Registers a decorator to add to all new cache objects.
Definition at line 2348 of file HTMLPurifier.standalone.php.
HTMLPurifier_DefinitionCacheFactory::$caches = array('Serializer' => array()) [protected] |
Definition at line 9 of file DefinitionCacheFactory.php.
HTMLPurifier_DefinitionCacheFactory::$implementations = array() [protected] |
Definition at line 10 of file DefinitionCacheFactory.php.
HTMLPurifier_DefinitionCacheFactory::$decorators = array() [protected] |
Definition at line 11 of file DefinitionCacheFactory.php.
1.5.3