function views_plugin_cache::cache_set_expire
Same name in other branches
- 6.x-3.x plugins/views_plugin_cache.inc \views_plugin_cache::cache_set_expire()
Determine expiration time in the cache table of the cache type.
Or CACHE_PERMANENT if item shouldn't be removed automatically from cache.
Plugins must override this to implement expiration in the cache table.
Parameters
string $type: The cache type, either 'query', 'result' or 'output'.
1 call to views_plugin_cache::cache_set_expire()
- views_plugin_cache::cache_set in plugins/
views_plugin_cache.inc - Save data to the cache.
1 method overrides views_plugin_cache::cache_set_expire()
- views_plugin_cache_time::cache_set_expire in plugins/
views_plugin_cache_time.inc - Determine expiration time in the cache table of the cache type.
File
-
plugins/
views_plugin_cache.inc, line 79
Class
- views_plugin_cache
- The base plugin to handle caching.
Code
public function cache_set_expire($type) {
return CACHE_PERMANENT;
}