Exemplo n.º 1
0
 /** 
  * Make a copy of drawn chart in the cache folder 
  */
 public function WriteToCache($ID, $Data, pChart $Picture)
 {
     $Hash = $this->GetHash($ID, $Data);
     $FileName = $this->CacheFolder . $Hash;
     imagepng($Picture->getPicture(), $FileName);
 }