You are here

abstract function SimplenewsSourceCacheStatic::isCacheable in Simplenews 7

Same name and namespace in other branches
  1. 7.2 includes/simplenews.source.inc \SimplenewsSourceCacheStatic::isCacheable()

Return if the requested element should be cached.

Return value

TRUE if it should be cached, FALSE otherwise.

2 calls to SimplenewsSourceCacheStatic::isCacheable()
SimplenewsSourceCacheStatic::get in includes/simplenews.source.inc
Implements SimplenewsSourceNodeInterface::get().
SimplenewsSourceCacheStatic::set in includes/simplenews.source.inc
Implements SimplenewsSourceNodeInterface::set().
2 methods override SimplenewsSourceCacheStatic::isCacheable()
SimplenewsSourceCacheBuild::isCacheable in includes/simplenews.source.inc
Implements SimplenewsSourceCacheStatic::set().
SimplenewsSourceCacheNone::isCacheable in includes/simplenews.source.inc
Implements SimplenewsSourceCacheStatic::set().

File

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

Class

SimplenewsSourceCacheStatic
Abstract implementation of the source caching that does static caching.

Code

abstract function isCacheable($group, $key);