Since: 2.0
pods_view_set
Set a cached value
Function Definition
function pods_view_set ( $key, $value, $expires = 0, $cache_mode = 'cache', $group = '' )
Source File: /pods/includes/general.php
Parameters
Parameter | Type | Details |
---|---|---|
$key | (string) | Key for the cache |
$value | (mixed) | Value to add to the cache |
$expires | (int) | (optional) Time in seconds for the cache to expire, if 0 caching is disabled. |
$cache_mode | (string) | (optional) Decides the caching method to use for the view. |
$group | (string) | Key for the group |
Returns
(bool|mixed|null|string|void)