|
| add ($def, $config) |
| Adds a definition object to the cache.
|
|
| checkDefType ($def) |
| Checks if a definition's type jives with the cache's type.
|
|
| cleanup ($config) |
|
| flush ($config) |
|
| generateBaseDirectoryPath ($config) |
| Generates path to base directory that contains all definition type serials.
|
|
| generateDirectoryPath ($config) |
| Generates the path to the directory contain this cache's serial files.
|
|
| generateFilePath ($config) |
| Generates the file path to the serial file corresponding to the configuration and definition name.
|
|
| 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) |
|
◆ add()
HTMLPurifier_DefinitionCache_Serializer::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_Serializer::cleanup |
( |
| $config | ) |
|
◆ flush()
HTMLPurifier_DefinitionCache_Serializer::flush |
( |
| $config | ) |
|
◆ generateBaseDirectoryPath()
HTMLPurifier_DefinitionCache_Serializer::generateBaseDirectoryPath |
( |
| $config | ) |
|
Generates path to base directory that contains all definition type serials.
- Parameters
-
- Return values
-
- Todo
- Make protected
◆ generateDirectoryPath()
HTMLPurifier_DefinitionCache_Serializer::generateDirectoryPath |
( |
| $config | ) |
|
Generates the path to the directory contain this cache's serial files.
- Parameters
-
- Return values
-
- Note
- No trailing slash
- Todo
- Make protected
◆ generateFilePath()
HTMLPurifier_DefinitionCache_Serializer::generateFilePath |
( |
| $config | ) |
|
Generates the file path to the serial file corresponding to the configuration and definition name.
- Parameters
-
- Return values
-
- Todo
- Make protected
◆ generateKey()
HTMLPurifier_DefinitionCache::generateKey |
( |
| $config | ) |
|
|
inherited |
Generates a unique identifier for a particular configuration.
- Parameters
-
- Return values
-
◆ get()
HTMLPurifier_DefinitionCache_Serializer::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_Serializer::remove |
( |
| $config | ) |
|
◆ replace()
HTMLPurifier_DefinitionCache_Serializer::replace |
( |
| $def, |
|
|
| $config ) |
◆ set()
HTMLPurifier_DefinitionCache_Serializer::set |
( |
| $def, |
|
|
| $config ) |
The documentation for this class was generated from the following file:
- lib/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer.php