root / drupal7 / sites / all / modules / views / plugins / views_plugin_cache_none.inc @ 6ae446a4
1 |
<?php |
---|---|
2 |
|
3 |
/** |
4 |
* @file |
5 |
* Definition of views_plugin_cache_none. |
6 |
*/ |
7 |
|
8 |
/** |
9 |
* Caching plugin that provides no caching at all. |
10 |
* |
11 |
* @ingroup views_cache_plugins |
12 |
*/ |
13 |
class views_plugin_cache_none extends views_plugin_cache { |
14 |
function cache_start() { /* do nothing */ } |
15 |
|
16 |
function summary_title() { |
17 |
return t('None'); |
18 |
} |
19 |
|
20 |
function cache_get($type) { |
21 |
return FALSE; |
22 |
} |
23 |
|
24 |
function cache_set($type) { } |
25 |
} |