==== set() ==== Store arbitrary data in the cache set($id, $data, $tags = NULL, $lifetime = NULL) ==Parameters== * **[string]** ''$id'' The ID of the cached data. Must be unique. * **[mixed]** ''$data'' If $data is not a string it will be serialized for storage. * **[mixed]** ''$tags''defaults to none, an array should be supplied. This is useful when grouping caches together. * **[mixed]** ''$lifetime'' specific lifetime can be set. If none given the default lifetime from the configuration file will be used. ==Returns== * **[array]** The cached data. ===Usage=== This is one example $this->cache->set('existentialists', $data, $tags); Here's another example $data = array('Jean Paul Sartre', 'Albert Camus', 'Simone de Beauvoir'); $tags = array('existentialism', 'philosophy', 'french'); $this->cache->set('existentialists', $data, $tags);