ceeram/CakePdf — pull request #14 by dakota (2012-08-22 07:43:38+00:00)
Title: Use view blocks in the PdfView class for outputing the pdf file

I was having issues where the PDF file contained the html rather than the generated PDF. This fixes that problem by replacing the outputted content with the PDF file.

Due to the use of view blocks it only works in CakePHP 2.1 and above.