extends |
Smarty_CacheResource_KeyValueStore |
---|
APC CacheResource CacheResource Implementation based on the KeyValueStore API to use memcache as the storage resource for Smarty's output caching. *
Methods | ||||||
---|---|---|---|---|---|---|
public
|
__construct()
Smarty_CacheResource_Apc constructor.
|
# | ||||
protected
|
read(array $keys): array
Read values for a set of keys from cache
Read values for a set of keys from cache Parameters
Returnslist of values with the given keys used as indexes Implements |
# | ||||
protected
|
write(array $keys, int $expire = null): boolean
Save values for a set of keys to cache
Save values for a set of keys to cache Parameters
Returnstrue on success, false on failure Implements |
# | ||||
protected
|
delete(array $keys): boolean
Remove values from cache
Remove values from cache Parameters
Returnstrue on success, false on failure Implements |
# | ||||
protected
|
purge(): boolean
Remove *all* values from cache
Remove all values from cache Returnstrue on success, false on failure Overrides |
# |
Methods inherited from Smarty_CacheResource |
---|
getCachedContent(), locked(), load() |
Properties inherited from Smarty_CacheResource_KeyValueStore |
---|
$contents, $timestamps |
Properties inherited from Smarty_CacheResource |
---|
$sysplugins |