You are here

class SimplenewsSourceCacheNone in Simplenews 7

Same name and namespace in other branches
  1. 7.2 includes/simplenews.source.inc \SimplenewsSourceCacheNone

Cache implementation that does not cache anything at all.

Hierarchy

Expanded class hierarchy of SimplenewsSourceCacheNone

Related topics

1 string reference to 'SimplenewsSourceCacheNone'
SimplenewsSourceTestCase::testSendNoCaching in tests/simplenews.test
Test with disabled caching.

File

includes/simplenews.source.inc, line 920
Contains SimplenewsSource interface and implementations.

View source
class SimplenewsSourceCacheNone extends SimplenewsSourceCacheStatic {

  /**
   * Implements SimplenewsSourceCacheStatic::set().
   */
  public function isCacheable($group, $key) {
    return FALSE;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
SimplenewsSourceCacheNone::isCacheable public function Implements SimplenewsSourceCacheStatic::set(). Overrides SimplenewsSourceCacheStatic::isCacheable
SimplenewsSourceCacheStatic::$cache protected static property The static cache.
SimplenewsSourceCacheStatic::$cid protected property The cache identifier for the given source.
SimplenewsSourceCacheStatic::$source protected property The simplenews source for which this cache is used.
SimplenewsSourceCacheStatic::get public function Implements SimplenewsSourceNodeInterface::get(). Overrides SimplenewsSourceCacheInterface::get
SimplenewsSourceCacheStatic::getCid protected function Returns the cache identifier for the current source.
SimplenewsSourceCacheStatic::set public function Implements SimplenewsSourceNodeInterface::set(). Overrides SimplenewsSourceCacheInterface::set
SimplenewsSourceCacheStatic::__construct public function Implements SimplenewsSourceNodeInterface::__construct(). Overrides SimplenewsSourceCacheInterface::__construct