Lines Matching defs:cachefile
35 /** @var bool|string path to temporary cachefile */
100 $cachefile = tempnam($conf['tmpdir'] . '/dwpdf', 'dw2pdf_');
101 $this->onetimefile = $cachefile;
107 $cachefile = $cache->cache;
118 $this->generatePDF($cachefile, $event);
135 $this->sendPDFFile($cachefile); //exits
408 * @param string $cachefile
412 protected function generatePDF($cachefile, $event)
568 $mpdf->Output($cachefile, 'F');
572 * @param string $cachefile
574 protected function sendPDFFile($cachefile)
579 http_conditionalRequest(filemtime($cachefile));
594 http_sendfile($cachefile);
596 $fp = @fopen($cachefile, "rb");
598 http_rangeRequest($fp, filesize($cachefile), 'application/pdf');