[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3master/var/www/se3/includes/library/HTMLPurifier/ -> DefinitionCacheFactory.php (summary)

(no description)

File Size: 106 lines (3 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

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



Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1