protected function Textimage::setCached in Textimage 7.3
Cache image uri.
Return value
self this object
2 calls to Textimage::setCached()
- Textimage::buildImage in classes/
Textimage.inc - Build the image via core image_style_create_derivative() function.
- Textimage::getCached in classes/
Textimage.inc - Get a cached Textimage.
File
- classes/
Textimage.inc, line 743 - Textimage - Textimage class.
Class
- Textimage
- @file Textimage - Textimage class.
Code
protected function setCached() {
$data = array(
'uri' => $this->uri,
);
cache_set('tiid:' . $this->id, $data, 'cache_textimage');
return $this;
}