ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Definition cache decorator class that cleans up the cache whenever there is a cache miss. More...
Public Member Functions | |
copy () | |
add ($def, $config) | |
set ($def, $config) | |
replace ($def, $config) | |
get ($config) | |
Public Member Functions inherited from HTMLPurifier_DefinitionCache_Decorator | |
__construct () | |
decorate (&$cache) | |
Lazy decorator function. More... | |
copy () | |
Cross-compatible clone substitute. More... | |
add ($def, $config) | |
set ($def, $config) | |
replace ($def, $config) | |
get ($config) | |
remove ($config) | |
flush ($config) | |
cleanup ($config) | |
Public Member Functions inherited from HTMLPurifier_DefinitionCache | |
__construct ($type) | |
generateKey ($config) | |
Generates a unique identifier for a particular configuration. More... | |
isOld ($key, $config) | |
Tests whether or not a key is old with respect to the configuration's version and revision number. More... | |
checkDefType ($def) | |
Checks if a definition's type jives with the cache's type. More... | |
add ($def, $config) | |
Adds a definition object to the cache. More... | |
set ($def, $config) | |
Unconditionally saves a definition object to the cache. More... | |
replace ($def, $config) | |
Replace an object in the cache. More... | |
get ($config) | |
Retrieves a definition object from the cache. More... | |
remove ($config) | |
Removes a definition object to the cache. More... | |
flush ($config) | |
Clears all objects from cache. More... | |
cleanup ($config) | |
Clears all expired (older version or revision) objects from cache. More... | |
Data Fields | |
$name = 'Cleanup' | |
string More... | |
Data Fields inherited from HTMLPurifier_DefinitionCache_Decorator | |
$cache | |
Cache object we are decorating HTMLPurifier_DefinitionCache. More... | |
$name | |
Data Fields inherited from HTMLPurifier_DefinitionCache | |
$type | |
string More... | |
Definition cache decorator class that cleans up the cache whenever there is a cache miss.
Definition at line 7 of file Cleanup.php.
HTMLPurifier_DefinitionCache_Decorator_Cleanup::add | ( | $def, | |
$config | |||
) |
HTMLPurifier_Definition | $def | |
HTMLPurifier_Config | $config |
Definition at line 27 of file Cleanup.php.
References $config, and add().
HTMLPurifier_DefinitionCache_Decorator_Cleanup::copy | ( | ) |
Definition at line 17 of file Cleanup.php.
HTMLPurifier_DefinitionCache_Decorator_Cleanup::get | ( | $config | ) |
HTMLPurifier_DefinitionCache_Decorator_Cleanup::replace | ( | $def, | |
$config | |||
) |
HTMLPurifier_Definition | $def | |
HTMLPurifier_Config | $config |
Definition at line 55 of file Cleanup.php.
References $config.
HTMLPurifier_DefinitionCache_Decorator_Cleanup::set | ( | $def, | |
$config | |||
) |
HTMLPurifier_Definition | $def | |
HTMLPurifier_Config | $config |
Definition at line 41 of file Cleanup.php.
References $config.
HTMLPurifier_DefinitionCache_Decorator_Cleanup::$name = 'Cleanup' |
string
Definition at line 12 of file Cleanup.php.