function pImage::autoOutput in Visitors 7
Same name and namespace in other branches
- 7.2 pChart/class/pImage.class.php \pImage::autoOutput()
File
- pChart/
class/ pImage.class.php, line 171
Class
Code
function autoOutput($FileName = "output.png") {
if (php_sapi_name() == "cli") {
$this
->Render($FileName);
}
else {
$this
->Stroke();
}
}