PMA\libraries\gis\GISVisualization::_toFile PHP Method

_toFile() private method

Handles common tasks of writing the visualization to file for various formats.
private _toFile ( string $file_name, string $type, string $ext ) : void
$file_name string file name
$type string mime type
$ext string extension of the file
return void
    private function _toFile($file_name, $type, $ext)
    {
        $file_name = $this->_sanitizeName($file_name, $ext);
        PMA_downloadHeader($file_name, $type);
    }