Class HTMLPurifier_DefinitionCache
Abstract class representing Definition cache managers that implements useful common methods and is a factory.
Direct known subclasses
HTMLPurifier_DefinitionCache_Decorator, HTMLPurifier_DefinitionCache_Null, HTMLPurifier_DefinitionCache_SerializerIndirect known subclasses
HTMLPurifier_DefinitionCache_Decorator_Cleanup, HTMLPurifier_DefinitionCache_Decorator_Memory
public
|
|
public
string
|
#
generateKey(
Generates a unique identifier for a particular configuration |
public
boolean
|
#
isOld( string $key,
Tests whether or not a key is old with respect to the configuration's version and revision number. |
public
boolean
|
#
checkDefType(
Checks if a definition's type jives with the cache's type |
abstract public
|
#
add(
Adds a definition object to the cache |
abstract public
|
#
set(
Unconditionally saves a definition object to the cache |
abstract public
|
#
replace(
Replace an object in the cache |
abstract public
|
|
abstract public
|
|
abstract public
|
|
abstract public
|
#
cleanup(
Clears all expired (older version or revision) objects from cache |
public
mixed
|
$type |
|