function pCache::strokeFromCache in Visitors 7.2
Same name and namespace in other branches
- 7 pChart/class/pCache.class.php \pCache::strokeFromCache()
1 call to pCache::strokeFromCache()
- pCache::autoOutput in pChart/
class/ pCache.class.php
File
- pChart/
class/ pCache.class.php, line 224
Class
Code
function strokeFromCache($ID) {
/* Get the raw picture from the cache */
$Picture = $this
->getFromCache($ID);
/* Do we have a hit? */
if ($Picture == NULL) {
return FALSE;
}
header('Content-type: image/png');
echo $Picture;
return TRUE;
}