extends |
HTMLPurifier_DefinitionCache |
---|
Methods | ||
---|---|---|
public
|
add(HTMLPurifier_Definition $def, HTMLPurifier_Config $config): int|bool
Adds a definition object to the cache
|
# |
public
|
set(HTMLPurifier_Definition $def, HTMLPurifier_Config $config): int|bool
Unconditionally saves a definition object to the cache
Unconditionally saves a definition object to the cache Implements |
# |
public
|
replace(HTMLPurifier_Definition $def, HTMLPurifier_Config $config): int|bool
Replace an object in the cache
|
# |
public
|
get(HTMLPurifier_Config $config): bool|HTMLPurifier_Config
Retrieves a definition object from the cache
|
# |
public
|
remove(HTMLPurifier_Config $config): bool
Removes a definition object to the cache
|
# |
public
|
flush(HTMLPurifier_Config $config): bool
Clears all objects from cache
|
# |
public
|
cleanup(HTMLPurifier_Config $config): bool
Clears all expired (older version or revision) objects from cache
Clears all expired (older version or revision) objects from cache Implements |
# |
public
|
generateFilePath(HTMLPurifier_Config $config): string
Generates the file path to the serial file corresponding to
the configuration and definition name
Generates the file path to the serial file corresponding to the configuration and definition name |
# |
public
|
generateDirectoryPath(HTMLPurifier_Config $config): string
Generates the path to the directory contain this cache's serial files
Generates the path to the directory contain this cache's serial files |
# |
public
|
generateBaseDirectoryPath(HTMLPurifier_Config $config): mixed|string
Generates path to base directory that contains all definition type
serials
Generates path to base directory that contains all definition type serials |
# |
Methods inherited from HTMLPurifier_DefinitionCache |
---|
__construct(), generateKey(), isOld(), checkDefType(), |
Properties inherited from HTMLPurifier_DefinitionCache |
---|
$type |