|
MIOLO20
|
Membros públicos | |
| fetch ($id) | |
| contains ($id) | |
| save ($id, $data, $lifeTime=0) | |
| delete ($id) | |
Interface for cache drivers.
@license http://www.opensource.org/licenses/lgpl-license.php LGPL 2.0 Benjamin Eberlei konta.nosp@m.kt@b.nosp@m.eberl.nosp@m.ei.d.nosp@m.e Guilherme Blanco guilh.nosp@m.erme.nosp@m.blanc.nosp@m.o@ho.nosp@m.tmail.nosp@m..com Jonathan Wage jonwa.nosp@m.ge@g.nosp@m.mail..nosp@m.com Roman Borschel roman.nosp@m.@cod.nosp@m.e-fac.nosp@m.tory.nosp@m..org
| contains | ( | $id | ) |
Test if an entry exists in the cache.
| string | $id | cache id The cache id of the entry to check for. |
Implementado em AbstractCache.
| delete | ( | $id | ) |
Deletes a cache entry.
| string | $id | cache id |
Implementado em AbstractCache.
| fetch | ( | $id | ) |
Fetches an entry from the cache.
| string | $id | cache id The id of the cache entry to fetch. |
Implementado em AbstractCache.
| save | ( | $id, | |
| $data, | |||
| $lifeTime = 0 ) |
Puts data into the cache.
| string | $id | The cache id. |
| string | $data | The cache entry/data. |
| int | $lifeTime | The lifetime. If != 0, sets a specific lifetime for this cache entry (0 => infinite lifeTime). |
Implementado em AbstractCache.