You are here

function views_plugin_cache_time::summary_title in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 6.2 plugins/views_plugin_cache_time.inc \views_plugin_cache_time::summary_title()
  2. 7.3 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 36

Class

views_plugin_cache_time
Simple caching of query results for Views displays.

Code

function summary_title() {
  return format_interval($this->options['results_lifespan'], 1) . '/' . format_interval($this->options['output_lifespan'], 1);
}