Static Public Member Functions | List of all members
VmPdf Class Reference

Static Public Member Functions

static createVmPdf ($view, $path='', $dest='F', $meta=array())

Member Function Documentation

static VmPdf::createVmPdf (   $view,
  $path = '',
  $dest = 'F',
  $meta = array() 

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: