src/View/PdfView.php
public function getFilename()
    {
        if (isset($this->pdfConfig['filename'])) {
            return $this->pdfConfig['filename'];
        }

        $id = current($this->request->getParam('pass'));

        return strtolower($this->getTemplatePath()) . $id . '.pdf';
    }
public function getFilename()
    {
        if (isset($this->pdfConfig['filename'])) {
            return $this->pdfConfig['filename'];
        }

        $id = current($this->request->getParam('pass'));

        return strtolower($this->getTemplatePath()) . $id . '.pdf';
    }
public function getFilename ( ) { if ( isset ( $ this -> pdfConfig [ 'filename' ] ) ) { return $ this -> pdfConfig [ 'filename' ] ; } $ id = current ( $ this -> request -> getParam ( 'pass' ) ) ; return strtolower ( $ this -> getTemplatePath ( ) ) . $ id . '.pdf' ; }
Get or build a filename for forced download

@return string The filename
Get or build a filename for forced download