|
| __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) |
|
| __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...
|
|
Definition at line 3 of file Decorator.php.
◆ __construct()
HTMLPurifier_DefinitionCache_Decorator::__construct |
( |
| ) |
|
◆ add()
HTMLPurifier_DefinitionCache_Decorator::add |
( |
|
$def, |
|
|
|
$config |
|
) |
| |
- Parameters
-
- Returns
- mixed
Definition at line 50 of file Decorator.php.
52 return $this->cache->add($def, $config);
◆ cleanup()
HTMLPurifier_DefinitionCache_Decorator::cleanup |
( |
|
$config | ) |
|
- Parameters
-
- Returns
- mixed
Definition at line 106 of file Decorator.php.
108 return $this->cache->cleanup($config);
◆ copy()
HTMLPurifier_DefinitionCache_Decorator::copy |
( |
| ) |
|
◆ decorate()
HTMLPurifier_DefinitionCache_Decorator::decorate |
( |
& |
$cache | ) |
|
◆ flush()
HTMLPurifier_DefinitionCache_Decorator::flush |
( |
|
$config | ) |
|
- Parameters
-
- Returns
- mixed
Definition at line 97 of file Decorator.php.
99 return $this->cache->flush($config);
◆ get()
HTMLPurifier_DefinitionCache_Decorator::get |
( |
|
$config | ) |
|
- Parameters
-
- Returns
- mixed
Definition at line 79 of file Decorator.php.
81 return $this->cache->get($config);
◆ remove()
HTMLPurifier_DefinitionCache_Decorator::remove |
( |
|
$config | ) |
|
- Parameters
-
- Returns
- mixed
Definition at line 88 of file Decorator.php.
90 return $this->cache->remove($config);
◆ replace()
HTMLPurifier_DefinitionCache_Decorator::replace |
( |
|
$def, |
|
|
|
$config |
|
) |
| |
- Parameters
-
- Returns
- mixed
Definition at line 70 of file Decorator.php.
72 return $this->cache->replace($def, $config);
◆ set()
HTMLPurifier_DefinitionCache_Decorator::set |
( |
|
$def, |
|
|
|
$config |
|
) |
| |
- Parameters
-
- Returns
- mixed
Definition at line 60 of file Decorator.php.
62 return $this->cache->set($def, $config);
◆ $cache
HTMLPurifier_DefinitionCache_Decorator::$cache |
◆ $name
HTMLPurifier_DefinitionCache_Decorator::$name |
The documentation for this class was generated from the following file:
- Services/Html/HtmlPurifier/library/HTMLPurifier/DefinitionCache/Decorator.php