Skip to content

Latest commit

 

History

History
228 lines (105 loc) · 4.03 KB

class.PDFCore.md

File metadata and controls

228 lines (105 loc) · 4.03 KB

Class PDFCore

Contents

Constants

Properties

Methods

Constants

TEMPLATE_DELIVERY_SLIP

const TEMPLATE_DELIVERY_SLIP = 'DeliverySlip'

TEMPLATE_INVOICE

const TEMPLATE_INVOICE = 'Invoice'

TEMPLATE_ORDER_RETURN

const TEMPLATE_ORDER_RETURN = 'OrderReturn'

TEMPLATE_ORDER_SLIP

const TEMPLATE_ORDER_SLIP = 'OrderSlip'

TEMPLATE_SUPPLY_ORDER_FORM

const TEMPLATE_SUPPLY_ORDER_FORM = 'SupplyOrderForm'

Properties

$filename

public mixed $filename

$objects

public mixed $objects

$pdf_renderer

public mixed $pdf_renderer

$template

public mixed $template

Methods

__construct

mixed PDFCore::__construct($objects, $template, $smarty, string $orientation)

Arguments

  • $objects mixed
  • $template mixed
  • $smarty mixed
  • $orientation string

getTemplateObject

\HTMLTemplate|false PDFCore::getTemplateObject(mixed $object)

Get correct PDF template classes

Arguments

  • $object mixed

render

mixed PDFCore::render(boolean $display)

Render PDF

Arguments

  • $display boolean