function pImage::autoOutput
Search API
5.x pImage.class.php | pImage::autoOutput($FileName = "output.png") |
File
- inc/
pchart/ 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();
}
}