public function autoOutput($ID, $Destination = "output.png")
    {
        if (php_sapi_name() == "cli") {
            $this->saveFromCache($ID, $Destination);
        } else {
            $this->strokeFromCache($ID);
        }
    }
public function autoOutput($ID, $Destination = "output.png")
    {
        if (php_sapi_name() == "cli") {
            $this->saveFromCache($ID, $Destination);
        } else {
            $this->strokeFromCache($ID);
        }
    }
public function autoOutput ( $ ID , $ Destination = "output.png" ) { if ( php_sapi_name ( ) == "cli" ) { $ this -> saveFromCache ( $ ID , $ Destination ) ; } else { $ this -> strokeFromCache ( $ ID ) ; } }
Automatic output method based on the calling interface
@param string $ID
@param string $Destination
Automatic output method based on the calling interface