function views_plugin_cache_time::summary_title

Same name in other branches
  1. 6.x-3.x plugins/views_plugin_cache_time.inc \views_plugin_cache_time::summary_title()

Overrides views_plugin_cache::summary_title

File

plugins/views_plugin_cache_time.inc, line 92

Class

views_plugin_cache_time
Simple caching of query results for Views displays.

Code

public function summary_title() {
    $results_lifespan = $this->get_lifespan('results');
    $output_lifespan = $this->get_lifespan('output');
    return format_interval($results_lifespan, 1) . '/' . format_interval($output_lifespan, 1);
}