You are here

public function SimplenewsSourceCacheStatic::__construct in Simplenews 7

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

Implements SimplenewsSourceNodeInterface::__construct().

Overrides SimplenewsSourceCacheInterface::__construct

File

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

Class

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

Code

public function __construct(SimplenewsSourceNodeInterface $source) {
  $this->source = $source;
  self::$cache =& drupal_static(__CLASS__, array());
}