CRM_Utils_Cache_SqlGroup
class CRM_Utils_Cache_SqlGroup implements CRM_Utils_Cache_Interface
This caching provider stores all cached items as a "group" in the "civicrm_cache" table. The entire 'group' may be prefetched when instantiating the cache provider.
Properties
protected string | $group | The host name of the memcached server. | |
protected int | $componentID | ||
protected array | $frontCache |
Methods
__construct(array $config)
Constructor.
set(string $key, mixed $value)
No description
mixed
get(string $key)
No description
mixed
getFromFrontCache($key, null $default = NULL)
No description
delete(string $key)
No description
flush()
Delete all values from the cache.
prefetch()
No description
Details
at line 70
CRM_Utils_Cache_SqlGroup
__construct(array $config)
Constructor.
at line 93
set(string $key, mixed $value)
at line 103
mixed
get(string $key)
at line 116
mixed
getFromFrontCache($key, null $default = NULL)
at line 123
delete(string $key)
at line 128
flush()
Delete all values from the cache.