XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
HTMLPurifier_DefinitionCache_Decorator_Memory Class Reference
Inheritance diagram for HTMLPurifier_DefinitionCache_Decorator_Memory:
Inheritance graph

Public Member Functions

 add ($def, $config)
 
 copy ()
 
 get ($config)
 
 replace ($def, $config)
 
 set ($def, $config)
 
- Public Member Functions inherited from HTMLPurifier_DefinitionCache_Decorator
 __construct ()
 
 add ($def, $config)
 
 cleanup ($config)
 
 copy ()
 
 decorate (&$cache)
 
 flush ($config)
 
 get ($config)
 
 remove ($config)
 
 replace ($def, $config)
 
 set ($def, $config)
 
- Public Member Functions inherited from HTMLPurifier_DefinitionCache
 __construct ($type)
 
 add ($def, $config)
 
 checkDefType ($def)
 
 cleanup ($config)
 
 flush ($config)
 
 generateKey ($config)
 
 get ($config)
 
 isOld ($key, $config)
 
 remove ($config)
 
 replace ($def, $config)
 
 set ($def, $config)
 

Public Attributes

 $name = 'Memory'
 
- Public Attributes inherited from HTMLPurifier_DefinitionCache_Decorator
 $cache
 
- Public Attributes inherited from HTMLPurifier_DefinitionCache
 $type
 

Protected Attributes

 $definitions
 

Detailed Description

Definition cache decorator class that saves all cache retrievals to PHP's memory; good for unit tests or circumstances where there are lots of configuration objects floating around.

Definition at line 8 of file Memory.php.

Member Function Documentation

HTMLPurifier_DefinitionCache_Decorator_Memory::add (   $def,
  $config 
)

Definition at line 19 of file Memory.php.

References $config, $status, and HTMLPurifier_DefinitionCache\generateKey().

Here is the call graph for this function:

HTMLPurifier_DefinitionCache_Decorator_Memory::copy ( )

Definition at line 15 of file Memory.php.

HTMLPurifier_DefinitionCache_Decorator_Memory::get (   $config)

Definition at line 37 of file Memory.php.

References $config, and HTMLPurifier_DefinitionCache\generateKey().

Here is the call graph for this function:

HTMLPurifier_DefinitionCache_Decorator_Memory::replace (   $def,
  $config 
)

Definition at line 31 of file Memory.php.

References $config, $status, and HTMLPurifier_DefinitionCache\generateKey().

Here is the call graph for this function:

HTMLPurifier_DefinitionCache_Decorator_Memory::set (   $def,
  $config 
)

Definition at line 25 of file Memory.php.

References $config, $status, and HTMLPurifier_DefinitionCache\generateKey().

Here is the call graph for this function:

Member Data Documentation

HTMLPurifier_DefinitionCache_Decorator_Memory::$definitions
protected

Definition at line 12 of file Memory.php.

HTMLPurifier_DefinitionCache_Decorator_Memory::$name = 'Memory'

Definition at line 13 of file Memory.php.


The documentation for this class was generated from the following file: