function pImage::autoOutput

5.x pImage.class.php pImage::autoOutput($FileName = "output.png")

File

inc/pchart/pchart/class/pImage.class.php, line 171

Class

pImage

Code

function autoOutput($FileName = "output.png") 
 {
  if (php_sapi_name() == "cli") {
    $this->Render($FileName);
  }
  else {
    $this->Stroke();
  }
}