public function TagadelicCloud::to_cache in Tagadelic 7.2
Writes the cloud to cache. Will recalculate if needed.
Return value
$this; for chaining.
File
- ./
TagadelicCloud.php, line 96
Class
- TagadelicCloud
- class TagadelicCloud TagadelicCloud, contains a list of tags and methods to manipulate this set of tags. It can operate on the list of tags.
Code
public function to_cache() {
$cache_id = "tagadelic_cloud_{$this->id}";
$this
->drupal()
->cache_set($cache_id, $this);
return $this;
}