You are here

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

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

Set.

File

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

Class

ECKCache

Code

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