1.20.x views_plugin_cache.inc views_plugin_cache::cache_expire($type)

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'.

File

modules/views/plugins/views_plugin_cache.inc, line 65
Definition of views_plugin_cache.

Class

views_plugin_cache
The base plugin to handle caching.

Code

function cache_expire($type) {
}