[ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 86 lignes (2 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
Classe: Horde_Cache_zps4 - X-Ref
The Horde_Cache_zps4:: class provides a Zend Performance Suiteget($key, $lifetime = 1) X-Ref |
Attempts to retrieve a piece of cached data and return it to the caller. param: string $key Cache key to fetch. param: integer $lifetime Lifetime of the key in seconds. return: mixed Cached data, or false if none was found. |
set($key, $data) X-Ref |
Attempts to store an object to the cache. param: string $key Cache key (identifier). param: mixed $data Data to store in the cache. return: boolean True on success, false on failure. |
output($key, $lifetime = 1) X-Ref |
Attempts to directly output cached data. param: string $key Cache key to output. param: integer $lifetime Lifetime of the key in seconds. return: mixed Cached data, or false if none was found. |
exists($key, $lifetime = 1) X-Ref |
Checks if a given key exists in the cache, valid for the given lifetime. param: string $key Cache key to check. param: integer $lifetime Lifetime of the key in seconds. return: boolean Existance. |
expire($key) X-Ref |
Expire any existing data for the given key. param: string $key Cache key to expire. return: boolean Success or failure. |
Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |