public function views_plugin_cache_time::summary_title in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.3 plugins/views_plugin_cache_time.inc \views_plugin_cache_time::summary_title()
- 6.2 plugins/views_plugin_cache_time.inc \views_plugin_cache_time::summary_title()
Return a string to display as the clickable title for the access control.
Overrides views_plugin_cache::summary_title
File
- plugins/
views_plugin_cache_time.inc, line 92 - Definition of views_plugin_cache_time.
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);
}