Class HTMLPurifier_DefinitionCacheFactory

Description

Responsible for creating definition caches.

Responsible for creating definition caches.

Located in /library/HTMLPurifier/DefinitionCacheFactory.php (line 6)


	
			
Variable Summary
Method Summary
static void instance ([ $prototype = null])
void addDecorator ( $decorator)
void create ($name $type, $config $config)
void register ($short $short, $long $long)
void setup ()
Variables
mixed $caches = array('Serializer' => array()) (line 9)
  • access: protected
mixed $decorators = array() (line 11)
  • access: protected
mixed $implementations = array() (line 10)
  • access: protected
Methods
static method instance (line 23)

Retrieves an instance of global definition cache factory.

Retrieves an instance of global definition cache factory.

  • access: public
static void instance ([ $prototype = null])
  • $prototype
addDecorator (line 81)

Registers a decorator to add to all new cache objects

Registers a decorator to add to all new cache objects

  • access: public
void addDecorator ( $decorator)
  • $decorator
create (line 48)

Factory method that creates a cache object based on configuration

Factory method that creates a cache object based on configuration

  • access: public
void create ($name $type, $config $config)
  • $name $type: Name of definitions handled by cache
  • $config $config: Instance of HTMLPurifier_Config
register (line 39)

Registers a new definition cache object

Registers a new definition cache object

  • access: public
void register ($short $short, $long $long)
  • $short $short: Short name of cache object, for reference
  • $long $long: Full class name of cache object, for construction
setup (line 16)

Initialize default decorators

Initialize default decorators

  • access: public
void setup ()

Documentation generated on Thu, 19 Jun 2008 18:49:01 -0400 by phpDocumentor 1.4.2