You are here

function pCache::GetHash in Visitors 7.0

Same name and namespace in other branches
  1. 8 pchart/pCache.inc \pCache::GetHash()
  2. 7.2 pChart/class/pCache.class.php \pCache::getHash()
  3. 7 pChart/class/pCache.class.php \pCache::getHash()
4 calls to pCache::GetHash()
pCache::DeleteFromCache in pchart/pCache.inc
pCache::GetFromCache in pchart/pCache.inc
pCache::IsInCache in pchart/pCache.inc
pCache::WriteToCache in pchart/pCache.inc

File

pchart/pCache.inc, line 106

Class

pCache

Code

function GetHash($ID, $Data) {
  $mKey = "{$ID}";
  foreach ($Data as $key => $Values) {
    $tKey = "";
    foreach ($Values as $Serie => $Value) {
      $tKey = $tKey . $Serie . $Value;
    }
    $mKey = $mKey . md5($tKey);
  }
  return md5($mKey);
}