summaryrefslogtreecommitdiff
path: root/sites/all/modules/views/plugins/views_plugin_cache_none.inc
blob: 9927a9d7138ddf462ce8a17a04dfcc2644086b09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php

/**
 * @file
 * Definition of views_plugin_cache_none.
 */

/**
 * Caching plugin that provides no caching at all.
 *
 * @ingroup views_cache_plugins
 */
class views_plugin_cache_none extends views_plugin_cache {
  function cache_start() { /* do nothing */ }

  function summary_title() {
    return t('None');
  }

  function cache_get($type) {
    return FALSE;
  }

  function cache_set($type) { }
}