function views_plugin_cache_time::cache_get

Overrides views_plugin_cache::cache_get

File

plugins/views_plugin_cache_time.inc, line 146

Class

views_plugin_cache_time
Simple caching of query results for Views displays.

Code

public function cache_get($type) {
    $lifespan = $this->get_lifespan($type);
    if ($lifespan >= 0) {
        return parent::cache_get($type);
    }
    else {
        return FALSE;
    }
}