Horde_Cache_Storage_Base::set PHP Méthode

set() abstract public méthode

Store an object in the cache.
abstract public set ( string $key, mixed $data, integer $lifetime )
$key string Object ID used as the caching key.
$data mixed Data to store in the cache.
$lifetime integer Object lifetime - i.e. the time before the data becomes available for garbage collection. If 0 will not be GC'd.
    public abstract function set($key, $data, $lifetime = 0);