pdf_print.ctp 163 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 <?php $this->response->getHeaderLine(['Content-type: application/pdf']); $this->response->type('pdf'); $this->response->send(); echo $this->fetch('content'); ?>