You are here

function pCache::IsInCache in Visitors 8

Same name and namespace in other branches
  1. 7.2 pChart/class/pCache.class.php \pCache::isInCache()
  2. 7 pChart/class/pCache.class.php \pCache::isInCache()
  3. 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

pCache

Code

function IsInCache($ID, $Data, $Hash = "") {
  if ($Hash == "") {
    $Hash = $this
      ->GetHash($ID, $Data);
  }
  if (file_exists($this->CacheFolder . $Hash)) {
    return TRUE;
  }
  else {
    return FALSE;
  }
}