public function sendToBrowserDownload($filename)
    {
        ReportRenderer::sendToBrowser(
            $filename,
            ReportRenderer::CSV_FORMAT,
            "text/" . ReportRenderer::CSV_FORMAT,
            $this->getRenderedReport()
        );
    }
public function sendToBrowserDownload($filename)
    {
        ReportRenderer::sendToBrowser(
            $filename,
            ReportRenderer::CSV_FORMAT,
            "text/" . ReportRenderer::CSV_FORMAT,
            $this->getRenderedReport()
        );
    }
public function sendToBrowserDownload ( $ filename ) { ReportRenderer :: sendToBrowser ( $ filename , ReportRenderer :: CSV_FORMAT , "text/" . ReportRenderer :: CSV_FORMAT , $ this -> getRenderedReport ( ) ) ; }
Send rendering to browser with a 'download file' prompt

@param string $filename without path & without format extension
Send rendering to browser with a download file prompt