views_plugin_cache_none.inc

  1. 3.x plugins/views_plugin_cache_none.inc
  2. 2.x plugins/views_plugin_cache_none.inc

Definition of views_plugin_cache_none.

File

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