__construct()
check_dependencies()
delete()
delete_all()
_get()
_get_index()
_get_key()
_new_key()
_serialize()
_set()
_unserialize()
_update_index()
_validate_config()
identifier_to_key()
prep_contents()
unprep_contents()
$config
$redis
PROPS_TAG
__construct($identifier, $config)
check_dependencies(array $dependencies) : bool
array
bool
delete()
delete_all(string $section) : bool
string
limit purge to subsection
bool
_get() : bool
bool
success_get_index() : array
array
containing the identifier, the sections, and the section index_get_key(bool $remove) : string
bool
if true, remove the key retrieved from the index
string
_new_key() : string
string
_serialize($data) : string
This function first converts any slashes found in the array to a temporary marker, so when it gets unserialized the slashes will be preserved
array
string
_set() : bool
bool
success_unserialize($data) : string
This function unserializes a data string, then converts any temporary slash markers back to actual slashes
array
string
_update_index(string $key)
string
cache key
_validate_config(string $name, mixed $value) : mixed
string
name of the config variable to validate
mixed
value
mixed
identifier_to_key($identifier) : string
string
string
prep_contents() : string
string
unprep_contents($payload)
$config : array
$redis
PROPS_TAG
const | string Tag used for opening & closing cache properties |
---|