library/Haste/Pdf/PdfTemplate.php
public function sendToBrowser($strFilename = '', $strDest = 'I')
    {
        $strFilename = $strFilename ?: $this->buildFilename();

        $this->objPdf->Output($strFilename, $strDest);
    }
public function sendToBrowser($strFilename = '', $strDest = 'I')
    {
        $strFilename = $strFilename ?: $this->buildFilename();

        $this->objPdf->Output($strFilename, $strDest);
    }
public function sendToBrowser ( $ strFilename = '' , $ strDest = 'I' ) { $ strFilename = $ strFilename ? : $ this -> buildFilename ( ) ; $ this -> objPdf -> Output ( $ strFilename , $ strDest ) ; }
Sends the pdf to the browser for download.

@param string $strFilename The filename

@throws \MpdfException
Sends the pdf to the browser for download .