Skip to content

Latest commit

 

History

History
336 lines (165 loc) · 7.19 KB

class.HTMLTemplateDeliverySlipCore.md

File metadata and controls

336 lines (165 loc) · 7.19 KB

Class HTMLTemplateDeliverySlipCore

Contents

Properties

Methods

Properties

$order

public mixed $order

$available_in_your_account

public mixed $available_in_your_account = true

$date

public mixed $date

$shop

public mixed $shop

$smarty

public mixed $smarty

$title

public mixed $title

Methods

__construct

mixed HTMLTemplateDeliverySlipCore::__construct(\OrderInvoice $order_invoice, $smarty)

Arguments

assignHookData

mixed HTMLTemplateCore::assignHookData($object)

Assign hook data

Arguments

  • $object mixed - generally the object used in the constructor

getBulkFilename

string HTMLTemplateDeliverySlipCore::getBulkFilename()

Returns the template filename when using bulk rendering

getContent

string HTMLTemplateDeliverySlipCore::getContent()

Returns the template's HTML content

getFilename

string HTMLTemplateDeliverySlipCore::getFilename()

Returns the template filename

getFooter

string HTMLTemplateCore::getFooter()

Returns the template's HTML footer

getHeader

string HTMLTemplateCore::getHeader()

Returns the template's HTML header

getLogo

mixed HTMLTemplateCore::getLogo()

Returns the invoice logo

getShopAddress

string HTMLTemplateCore::getShopAddress()

Returns the shop address

getTemplate

string HTMLTemplateCore::getTemplate($template_name)

If the template is not present in the theme directory, it will return the default template in PS_PDF_DIR directory

Arguments

  • $template_name mixed

l

string HTMLTemplateCore::l(string $string)

Translatation method

Arguments

  • $string string