Projet

Général

Profil

Paste
Télécharger (570 octets) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / views / plugins / views_plugin_cache_none.inc @ 5d12d676

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

    
15
  /**
16
   * {@inheritdoc}
17
   */
18
  public function cache_start() {
19
    // Do nothing.
20
  }
21

    
22
  /**
23
   * {@inheritdoc}
24
   */
25
  public function summary_title() {
26
    return t('None');
27
  }
28

    
29
  /**
30
   * {@inheritdoc}
31
   */
32
  public function cache_get($type) {
33
    return FALSE;
34
  }
35

    
36
  /**
37
   * {@inheritdoc}
38
   */
39
  public function cache_set($type) {
40
  }
41

    
42
}