HumHub Documentation (unofficial)

HTMLPurifier_DefinitionCacheFactory
in package

Responsible for creating definition caches.

Table of Contents

Properties

$caches  : mixed
$decorators  : mixed
$implementations  : mixed

Methods

addDecorator()  : mixed
Registers a decorator to add to all new cache objects
create()  : mixed
Factory method that creates a cache object based on configuration
instance()  : HTMLPurifier_DefinitionCacheFactory
Retrieves an instance of global definition cache factory.
register()  : mixed
Registers a new definition cache object
setup()  : mixed
Initialize default decorators

Properties

$decorators

protected mixed $decorators = array()
Tags
type

HTMLPurifier_DefinitionCache_Decorator[]

Methods

register()

Registers a new definition cache object

public register(string $short, string $long) : mixed
Parameters
$short : string

Short name of cache object, for reference

$long : string

Full class name of cache object, for construction


        
On this page

Search results