(no description)
File Size: | 129 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
HTMLPurifier_DefinitionCache:: (4 methods):
__construct()
generateKey()
isOld()
checkDefType()
Class: HTMLPurifier_DefinitionCache - X-Ref
Abstract class representing Definition cache managers that implements__construct($type) X-Ref |
param: string $type Type of definition objects this instance of the |
generateKey($config) X-Ref |
Generates a unique identifier for a particular configuration return: string param: HTMLPurifier_Config $config Instance of HTMLPurifier_Config |
isOld($key, $config) X-Ref |
Tests whether or not a key is old with respect to the configuration's version and revision number. return: bool param: string $key Key to test param: HTMLPurifier_Config $config Instance of HTMLPurifier_Config to test against |
checkDefType($def) X-Ref |
Checks if a definition's type jives with the cache's type return: bool true if good, false if not param: HTMLPurifier_Definition $def Definition object to check |