function pCache::IsInCache in Visitors 7.0
Same name and namespace in other branches
- 8 pchart/pCache.inc \pCache::IsInCache()
- 7.2 pChart/class/pCache.class.php \pCache::isInCache()
- 7 pChart/class/pCache.class.php \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;
}
}