|
static | createVmPdf ($view, $path='', $dest='F', $meta=array()) |
|
static VmPdf::createVmPdf |
( |
|
$view, |
|
|
|
$path = '' , |
|
|
|
$dest = 'F' , |
|
|
|
$meta = array() |
|
) |
| |
|
static |
Function to create a nice vendor-styled PDF for the output of the given view. The $path and $dest arguments are directly passed on to TCPDF::Output. To create a PDF directly from a given HTML (i.e. not through a view), one can directly use the VmVendorPDF class, see VirtueMartControllerInvoice::samplePDF
The documentation for this class was generated from the following file: