You are here

public function ECKCache::set in Entity Construction Kit (ECK) 7.2

Same name and namespace in other branches
  1. 7.3 eck.classes.inc \ECKCache::set()

Set the cache.

File

./eck.classes.inc, line 837
Classes for all the different objects used in ECK.

Class

ECKCache
A class that manages ECK caches.

Code

public function set($data) {
  cache_set($this->id, $data, "cache_eck");
  $this->data = $data;
}