You are here

function pCache::IsInCache in Visitors 7.0

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

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;
  }
}