function pCache::IsInCache in Visitors 8
Same name and namespace in other branches
- 7.2 pChart/class/pCache.class.php \pCache::isInCache()
- 7 pChart/class/pCache.class.php \pCache::isInCache()
- 7.0 pchart/pCache.inc \pCache::IsInCache()
1 call to pCache::IsInCache()
- pCache::GetFromCache in pchart/
pCache.inc
File
- pchart/
pCache.inc, line 61
Class
Code
function IsInCache($ID, $Data, $Hash = "") {
if ($Hash == "") {
$Hash = $this
->GetHash($ID, $Data);
}
if (file_exists($this->CacheFolder . $Hash)) {
return TRUE;
}
else {
return FALSE;
}
}