Skip to content

Latest commit

 

History

History
350 lines (170 loc) · 7.3 KB

class.HTMLTemplateInvoiceCore.md

File metadata and controls

350 lines (170 loc) · 7.3 KB

Class HTMLTemplateInvoiceCore

Contents

Properties

Methods

Properties

$available_in_your_account

public mixed $available_in_your_account = false

$order

public mixed $order

$date

public mixed $date

$shop

public mixed $shop

$smarty

public mixed $smarty

$title

public mixed $title

Methods

__construct

mixed HTMLTemplateInvoiceCore::__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 HTMLTemplateInvoiceCore::getBulkFilename()

Returns the template filename when using bulk rendering

getContent

string HTMLTemplateInvoiceCore::getContent()

Returns the template's HTML content

getFilename

string HTMLTemplateInvoiceCore::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

getTaxTabContent

mixed HTMLTemplateInvoiceCore::getTaxTabContent()

Returns the tax tab content

getTemplate

mixed HTMLTemplateInvoiceCore::getTemplate(string $iso_country)

Returns the invoice template associated to the country iso_code

Arguments

  • $iso_country string

l

string HTMLTemplateCore::l(string $string)

Translatation method

Arguments

  • $string string