XOOPS API 2.5.11 Beta1  UI v0.5
Réalisé par monxoops.fr
Référence de la classe HTMLPurifier_DefinitionCacheFactory

Fonctions membres publiques

 setup ()
 
 register ($short, $long)
 
 create ($type, $config)
 
 addDecorator ($decorator)
 

Fonctions membres publiques statiques

static instance ($prototype=null)
 

Attributs protégés

 $caches = array('Serializer' => array())
 
 $implementations = array()
 
 $decorators = array()
 

Description détaillée

Responsible for creating definition caches.

Documentation des fonctions membres

◆ addDecorator()

addDecorator (   $decorator)

Registers a decorator to add to all new cache objects

Paramètres
HTMLPurifier_DefinitionCache_Decorator | string$decoratorAn instance or the name of a decorator
+ Voici le graphe des appelants de cette fonction :

◆ create()

create (   $type,
  $config 
)

Factory method that creates a cache object based on configuration

Paramètres
string$typeName of definitions handled by cache
HTMLPurifier_Config$configConfig instance
Renvoie
mixed

◆ instance()

static instance (   $prototype = null)
static

Retrieves an instance of global definition cache factory.

Paramètres
HTMLPurifier_DefinitionCacheFactory$prototype
Renvoie
HTMLPurifier_DefinitionCacheFactory
+ Voici le graphe des appelants de cette fonction :

◆ register()

register (   $short,
  $long 
)

Registers a new definition cache object

Paramètres
string$shortShort name of cache object, for reference
string$longFull class name of cache object, for construction

◆ setup()

setup ( )

Initialize default decorators

+ Voici le graphe d'appel pour cette fonction :

Documentation des champs

◆ $caches

$caches = array('Serializer' => array())
protected

@type array

◆ $decorators

$decorators = array()
protected

◆ $implementations

$implementations = array()
protected

@type array


La documentation de cette classe a été générée à partir du fichier suivant :