extends |
HTMLPurifier_DefinitionCache |
---|
Methods | ||||
---|---|---|---|---|
public
|
__construct()
|
# | ||
public
|
decorate(HTMLPurifier_DefinitionCache &$cache): HTMLPurifier_DefinitionCache_Decorator
Lazy decorator function
Lazy decorator function Parameters
|
# | ||
public
|
copy(): HTMLPurifier_DefinitionCache_Decorator
Cross-compatible clone substitute
Cross-compatible clone substitute Overriden by |
# | ||
public
|
add(HTMLPurifier_Definition $def, HTMLPurifier_Config $config): mixed
Adds a definition object to the cache
Adds a definition object to the cache Overriden by
Implements |
# | ||
public
|
set(HTMLPurifier_Definition $def, HTMLPurifier_Config $config): mixed
Unconditionally saves a definition object to the cache
Unconditionally saves a definition object to the cache Overriden by
Implements |
# | ||
public
|
replace(HTMLPurifier_Definition $def, HTMLPurifier_Config $config): mixed
Replace an object in the cache
Replace an object in the cache Overriden by
Implements |
# | ||
public
|
get(HTMLPurifier_Config $config): mixed
Retrieves a definition object from the cache
Retrieves a definition object from the cache Overriden by
Implements |
# | ||
public
|
remove(HTMLPurifier_Config $config): mixed
Removes a definition object to the cache
|
# | ||
public
|
flush(HTMLPurifier_Config $config): mixed
Clears all objects from cache
|
# | ||
public
|
cleanup(HTMLPurifier_Config $config): mixed
Clears all expired (older version or revision) objects from cache
Clears all expired (older version or revision) objects from cache Implements |
# |
Methods inherited from HTMLPurifier_DefinitionCache |
---|
generateKey(), isOld(), checkDefType(), |
Properties | |||
---|---|---|---|
public
|
|
$cache
Cache object we are decorating
Cache object we are decorating |
# |
public
|
string
|
$name
|
# |
Properties inherited from HTMLPurifier_DefinitionCache |
---|
$type |