You are here

function views_plugin_cache::cache_expire in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 plugins/views_plugin_cache.inc \views_plugin_cache::cache_expire()
  2. 7.3 plugins/views_plugin_cache.inc \views_plugin_cache::cache_expire()

Determine the expiration time of the cache type, or NULL if no expire.

Plugins must override this to implement expiration.

Parameters

$type: The cache type, either 'query', 'result' or 'output'.

1 call to views_plugin_cache::cache_expire()
views_plugin_cache::cache_get in plugins/views_plugin_cache.inc
Retrieve data from the cache.
1 method overrides views_plugin_cache::cache_expire()
views_plugin_cache_time::cache_expire in plugins/views_plugin_cache_time.inc
Determine the expiration time of the cache type, or NULL if no expire.

File

plugins/views_plugin_cache.inc, line 60

Class

views_plugin_cache
The base plugin to handle caching.

Code

function cache_expire($type) {
}