Métodos públicos estáticos | |
static | get ($id, $group) |
static | save ($id, $group, $value, $lifetime) |
static | clean ($group=false) |
static | remove ($id, $group) |
Definición en la línea 22 del archivo cache_interface.php.
static clean | ( | $ | group = false |
) | [static] |
static get | ( | $ | id, | |
$ | group | |||
) | [static] |
Carga un elemento cacheado
string | $id | |
string | $group |
Implementado en FileCache.
static remove | ( | $ | id, | |
$ | group | |||
) | [static] |
Elimina un elemento de la cache
string | $id | |
string | $group |
Implementado en FileCache.
static save | ( | $ | id, | |
$ | group, | |||
$ | value, | |||
$ | lifetime | |||
) | [static] |
Guarda un elemento en la cache con nombre $id y valor $value
string | $id | |
string | $group | |
mixed | $value | |
int | $lifetime tiempo de vida en forma timestamp de unix |
Implementado en FileCache.