|
| | add ($def, $config) |
| |
| | checkDefType ($def) |
| | Checks if a definition's type jives with the cache's type.
|
| |
| | cleanup ($config) |
| |
| | copy () |
| |
| | decorate (&$cache) |
| | Lazy decorator function.
|
| |
| | flush ($config) |
| |
| | generateKey ($config) |
| | Generates a unique identifier for a particular configuration.
|
| |
| | get ($config) |
| |
| | isOld ($key, $config) |
| | Tests whether or not a key is old with respect to the configuration's version and revision number.
|
| |
| | remove ($config) |
| |
| | replace ($def, $config) |
| |
| | set ($def, $config) |
| |
|
|
| $cache |
| |
|
| $name = 'Cleanup' |
| | @type string
|
| |
|
| $type |
| | @type string
|
| |
◆ add()
| HTMLPurifier_DefinitionCache_Decorator_Cleanup::add |
( |
| $def, |
|
|
| $config ) |
◆ checkDefType()
| HTMLPurifier_DefinitionCache::checkDefType |
( |
| $def | ) |
|
|
inherited |
Checks if a definition's type jives with the cache's type.
- Note
- Throws an error on failure
- Parameters
-
- Return values
-
| bool | true if good, false if not |
◆ cleanup()
| HTMLPurifier_DefinitionCache_Decorator::cleanup |
( |
| $config | ) |
|
|
inherited |
◆ copy()
| HTMLPurifier_DefinitionCache_Decorator_Cleanup::copy |
( |
| ) |
|
◆ decorate()
| HTMLPurifier_DefinitionCache_Decorator::decorate |
( |
& | $cache | ) |
|
|
inherited |
Lazy decorator function.
- Parameters
-
- Return values
-
◆ flush()
| HTMLPurifier_DefinitionCache_Decorator::flush |
( |
| $config | ) |
|
|
inherited |
◆ generateKey()
| HTMLPurifier_DefinitionCache::generateKey |
( |
| $config | ) |
|
|
inherited |
Generates a unique identifier for a particular configuration.
- Parameters
-
- Return values
-
◆ get()
| HTMLPurifier_DefinitionCache_Decorator_Cleanup::get |
( |
| $config | ) |
|
◆ isOld()
| HTMLPurifier_DefinitionCache::isOld |
( |
| $key, |
|
|
| $config ) |
|
inherited |
Tests whether or not a key is old with respect to the configuration's version and revision number.
- Parameters
-
- Return values
-
◆ remove()
| HTMLPurifier_DefinitionCache_Decorator::remove |
( |
| $config | ) |
|
|
inherited |
◆ replace()
| HTMLPurifier_DefinitionCache_Decorator_Cleanup::replace |
( |
| $def, |
|
|
| $config ) |
◆ set()
| HTMLPurifier_DefinitionCache_Decorator_Cleanup::set |
( |
| $def, |
|
|
| $config ) |
The documentation for this class was generated from the following file:
- lib/htmlpurifier/HTMLPurifier/DefinitionCache/Decorator/Cleanup.php