function commerce_billy_mail_pdf_create in Commerce Billy Mail 7
Transforms HTML to PDF and returns its file contents.
Parameters
$html The HTML Content of the pdf.:
$filename The name of the PDF file to use.:
Return value
string The PDF file content (inline).
1 call to commerce_billy_mail_pdf_create()
- _commerce_billy_mail_get_attachments in ./
commerce_billy_mail.module - Returns the mail attachment(s).
File
- ./
commerce_billy_mail.module, line 274
Code
function commerce_billy_mail_pdf_create($html, $filename) {
return commerce_billy_pdf_output($html, $filename, TRUE);
}