
Öffentliche Methoden | |
| __construct ($type) | |
| generateKey ($config) | |
| isOld ($key, $config) | |
| checkDefType ($def) | |
| add ($def, $config) | |
| set ($def, $config) | |
| replace ($def, $config) | |
| get ($config) | |
| remove ($config) | |
| flush ($config) | |
| cleanup ($config) | |
Datenfelder | |
| $type | |
Implement memcached
Definiert in Zeile 11 der Datei DefinitionCache.php.
| __construct | ( | $ | type | ) |
| $name | Type of definition objects this instance of the cache will handle. |
Definiert in Zeile 20 der Datei DefinitionCache.php.
| add | ( | $ | def, | |
| $ | config | |||
| ) | [abstract] |
Adds a definition object to the cache
Erneute Implementation in HTMLPurifier_DefinitionCache_Decorator_Cleanup, HTMLPurifier_DefinitionCache_Decorator_Memory, HTMLPurifier_DefinitionCache_Decorator, HTMLPurifier_DefinitionCache_Null und HTMLPurifier_DefinitionCache_Serializer.
| checkDefType | ( | $ | def | ) |
Checks if a definition's type jives with the cache's type
| $def | Definition object to check |
Definiert in Zeile 60 der Datei DefinitionCache.php.

| cleanup | ( | $ | config | ) | [abstract] |
Clears all expired (older version or revision) objects from cache
Erneute Implementation in HTMLPurifier_DefinitionCache_Decorator, HTMLPurifier_DefinitionCache_Null und HTMLPurifier_DefinitionCache_Serializer.
| flush | ( | $ | config | ) | [abstract] |
Clears all objects from cache
Erneute Implementation in HTMLPurifier_DefinitionCache_Decorator, HTMLPurifier_DefinitionCache_Null und HTMLPurifier_DefinitionCache_Serializer.
| generateKey | ( | $ | config | ) |
Generates a unique identifier for a particular configuration
| Instance | of HTMLPurifier_Config |
Definiert in Zeile 28 der Datei DefinitionCache.php.

| get | ( | $ | config | ) | [abstract] |
Retrieves a definition object from the cache
Erneute Implementation in HTMLPurifier_DefinitionCache_Decorator_Cleanup, HTMLPurifier_DefinitionCache_Decorator_Memory, HTMLPurifier_DefinitionCache_Decorator, HTMLPurifier_DefinitionCache_Null und HTMLPurifier_DefinitionCache_Serializer.
| isOld | ( | $ | key, | |
| $ | config | |||
| ) |
Tests whether or not a key is old with respect to the configuration's version and revision number.
| $key | Key to test | |
| $config | Instance of HTMLPurifier_Config to test against |
Definiert in Zeile 40 der Datei DefinitionCache.php.

| remove | ( | $ | config | ) | [abstract] |
Removes a definition object to the cache
Erneute Implementation in HTMLPurifier_DefinitionCache_Decorator, HTMLPurifier_DefinitionCache_Null und HTMLPurifier_DefinitionCache_Serializer.
| replace | ( | $ | def, | |
| $ | config | |||
| ) | [abstract] |
Replace an object in the cache
Erneute Implementation in HTMLPurifier_DefinitionCache_Decorator_Cleanup, HTMLPurifier_DefinitionCache_Decorator_Memory, HTMLPurifier_DefinitionCache_Decorator, HTMLPurifier_DefinitionCache_Null und HTMLPurifier_DefinitionCache_Serializer.
| set | ( | $ | def, | |
| $ | config | |||
| ) | [abstract] |
Unconditionally saves a definition object to the cache
Erneute Implementation in HTMLPurifier_DefinitionCache_Decorator_Cleanup, HTMLPurifier_DefinitionCache_Decorator_Memory, HTMLPurifier_DefinitionCache_Decorator, HTMLPurifier_DefinitionCache_Null und HTMLPurifier_DefinitionCache_Serializer.
| $type |
Definiert in Zeile 14 der Datei DefinitionCache.php.
| Copyright © 2003 - 2009 MyOOS [Shopsystem]. All rights reserved. MyOOS [Shopsystem] is Free Software released under the GNU/GPL License. Webmaster: info@r23.de (Impressum) |
|