ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__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 | |
$cache | |
Cache object we are decorating HTMLPurifier_DefinitionCache. More... | |
$name | |
Data Fields inherited from HTMLPurifier_DefinitionCache | |
$type | |
string More... | |
Definition at line 3 of file Decorator.php.
HTMLPurifier_DefinitionCache_Decorator::__construct | ( | ) |
Definition at line 18 of file Decorator.php.
HTMLPurifier_DefinitionCache_Decorator::add | ( | $def, | |
$config | |||
) |
HTMLPurifier_Definition | $def | |
HTMLPurifier_Config | $config |
Definition at line 50 of file Decorator.php.
HTMLPurifier_DefinitionCache_Decorator::cleanup | ( | $config | ) |
HTMLPurifier_Config | $config |
Definition at line 106 of file Decorator.php.
References $config.
HTMLPurifier_DefinitionCache_Decorator::copy | ( | ) |
Cross-compatible clone substitute.
Definition at line 40 of file Decorator.php.
Referenced by decorate().
HTMLPurifier_DefinitionCache_Decorator::decorate | ( | & | $cache | ) |
Lazy decorator function.
HTMLPurifier_DefinitionCache | $cache | Reference to cache object to decorate |
Definition at line 27 of file Decorator.php.
References $cache, and copy().
HTMLPurifier_DefinitionCache_Decorator::flush | ( | $config | ) |
HTMLPurifier_Config | $config |
Definition at line 97 of file Decorator.php.
References $config.
HTMLPurifier_DefinitionCache_Decorator::get | ( | $config | ) |
HTMLPurifier_Config | $config |
Definition at line 79 of file Decorator.php.
References $config.
HTMLPurifier_DefinitionCache_Decorator::remove | ( | $config | ) |
HTMLPurifier_Config | $config |
Definition at line 88 of file Decorator.php.
References $config.
HTMLPurifier_DefinitionCache_Decorator::replace | ( | $def, | |
$config | |||
) |
HTMLPurifier_Definition | $def | |
HTMLPurifier_Config | $config |
Definition at line 70 of file Decorator.php.
HTMLPurifier_DefinitionCache_Decorator::set | ( | $def, | |
$config | |||
) |
HTMLPurifier_Definition | $def | |
HTMLPurifier_Config | $config |
Definition at line 60 of file Decorator.php.
HTMLPurifier_DefinitionCache_Decorator::$cache |
Cache object we are decorating HTMLPurifier_DefinitionCache.
Definition at line 10 of file Decorator.php.
Referenced by decorate().
HTMLPurifier_DefinitionCache_Decorator::$name |
Definition at line 16 of file Decorator.php.