views_plugin_cache_none.inc 570 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. /**
  13. * {@inheritdoc}
  14. */
  15. public function cache_start() {
  16. // Do nothing.
  17. }
  18. /**
  19. * {@inheritdoc}
  20. */
  21. public function summary_title() {
  22. return t('None');
  23. }
  24. /**
  25. * {@inheritdoc}
  26. */
  27. public function cache_get($type) {
  28. return FALSE;
  29. }
  30. /**
  31. * {@inheritdoc}
  32. */
  33. public function cache_set($type) {
  34. }
  35. }