function views_plugin_cache_time::cache_set
Save data to the cache.
A plugin should override this to provide specialized caching behavior.
Overrides views_plugin_cache::cache_set
File
-
plugins/
views_plugin_cache_time.inc, line 136
Class
- views_plugin_cache_time
- Simple caching of query results for Views displays.
Code
public function cache_set($type) {
$lifespan = $this->get_lifespan($type);
if ($lifespan >= 0) {
parent::cache_set($type);
}
}