Class HTMLPurifier_DefinitionCache_Null
Null cache object to use when no caching is on.
-
HTMLPurifier_DefinitionCache
-
HTMLPurifier_DefinitionCache_Null
Methods summary
public
|
#
add( $def, $config )
Adds a definition object to the cache
Adds a definition object to the cache
|
public
|
#
set( $def, $config )
Unconditionally saves a definition object to the cache
Unconditionally saves a definition object to the cache
|
public
|
#
replace( $def, $config )
Replace an object in the cache
Replace an object in the cache
|
public
|
#
remove( $config )
Removes a definition object to the cache
Removes a definition object to the cache
|
public
|
#
get( $config )
Retrieves a definition object from the cache
Retrieves a definition object from the cache
|
public
|
#
flush( $config )
Clears all objects from cache
Clears all objects from cache
|
public
|
#
cleanup( $config )
Clears all expired (older version or revision) objects from cache
Clears all expired (older version or revision) objects from cache
Note
Be carefuly implementing this method as flush. Flush must not interfere with
other Definition types, and cleanup() should not be repeatedly called by
userland code.
|