Set the named value in the cache with an expiration.
public static set ( mixed $name, mixed $value, integer $expiry = 3600, boolean $keep = false ) | ||
$name | mixed | The name of the cached item or an array of array( string $group, string $name ) |
$value | mixed | The value to store |
$expiry | integer | Number of second after the call that the cache will expire |
$keep | boolean | If true, retain the cache value even after expiry but report the cache as expired |