public static set ( string $key, mixed $value, integer $expires, string $cache_mode = null, string $group = '' ) : boolean | mixed | null | string | void | ||
$key | string | Key for the cache |
$value | mixed | Value to add to the cache |
$expires | integer | (optional) Time in seconds for the cache to expire, if 0 no expiration. |
$cache_mode | string | (optional) Decides the caching method to use for the view. |
$group | string | (optional) Set the group of the value. |
return | boolean | mixed | null | string | void |