PDFGenerator
class PDFGenerator
Class PDFGenerator
Methods
Mpdf
getMpdf(array $constructorArgs = array())
Get an instance of mPDF class
mixed
generatePdf(mixed $html, array $argOptions = array())
Generate pdf from html
Response
generatePdfResponse(mixed $html, array $argOptions = array())
Create new response and set content type to pdf
setAddDefaultConstructorArgs(mixed $val)
No description
string
saveToFile(string $fileName, string $mode, string $htmlTemplate, array $argOptions = array())
Save pdf to file
bool
getAddDefaultConstructorArgs()
No description
Details
at line 33
Mpdf
getMpdf(array $constructorArgs = array())
Get an instance of mPDF class
at line 57
mixed
generatePdf(mixed $html, array $argOptions = array())
Generate pdf from html
at line 74
Response
generatePdfResponse(mixed $html, array $argOptions = array())
Create new response and set content type to pdf
at line 90
PDFGenerator
setAddDefaultConstructorArgs(mixed $val)
at line 108
string
saveToFile(string $fileName, string $mode, string $htmlTemplate, array $argOptions = array())
Save pdf to file