Métodos públicos estáticos | |
static | get ($id, $group) |
static | save ($id, $group, $value, $lifetime) |
static | clean ($group=false) |
static | remove ($id, $group) |
Métodos protegidos estáticos | |
static | _get_filename ($id, $group) |
Definición en la línea 23 del archivo file_cache.php.
static _get_filename | ( | $ | id, | |
$ | group | |||
) | [static, protected] |
Obtiene el nombre de archivo a partir de un id y grupo
string | $id | |
string | $group |
Definición en la línea 32 del archivo file_cache.php.
static clean | ( | $ | group = false |
) | [static] |
Limpia la cache
string | $group |
Implementa CacheInterface.
Definición en la línea 81 del archivo file_cache.php.
static get | ( | $ | id, | |
$ | group | |||
) | [static] |
Carga un elemento cacheado
string | $id | |
string | $group |
Implementa CacheInterface.
Definición en la línea 43 del archivo file_cache.php.
static remove | ( | $ | id, | |
$ | group | |||
) | [static] |
Elimina un elemento de la cache
string | $id | |
string | $group |
Implementa CacheInterface.
Definición en la línea 97 del archivo file_cache.php.
static save | ( | $ | id, | |
$ | group, | |||
$ | value, | |||
$ | lifetime | |||
) | [static] |
Guarda un elemento en la cache con nombre $id y valor $value
string | $id | |
string | $group | |
string | $value | |
int | $lifetime tiempo de vida en forma timestamp de unix |
Implementa CacheInterface.
Definición en la línea 69 del archivo file_cache.php.