\HTMLTemplateCore

Summary

Methods
Properties
Constants
getHeader()
getFooter()
assignHookData()
getContent()
getFilename()
getBulkFilename()
$title
$date
$available_in_your_account
$smarty
$shop
No constants found
getShopAddress()
getLogo()
getTemplate()
l()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$title

$title : 

Type

$date

$date : 

Type

$available_in_your_account

$available_in_your_account : 

Type

$smarty

$smarty : 

Type

$shop

$shop : 

Type

Methods

getHeader()

getHeader() : string

Returns the template's HTML header

Returns

string —

HTML header

getFooter()

getFooter() : string

Returns the template's HTML footer

Returns

string —

HTML footer

assignHookData()

assignHookData(  $object) 

Assign hook data

Parameters

$object

generally the object used in the constructor

getContent()

getContent() : string

Returns the template's HTML content

Returns

string —

HTML content

getFilename()

getFilename() : string

Returns the template filename

Returns

string —

filename

getBulkFilename()

getBulkFilename() : string

Returns the template filename when using bulk rendering

Returns

string —

filename

getShopAddress()

getShopAddress() : string

Returns the shop address

Returns

string

getLogo()

getLogo() 

Returns the invoice logo

getTemplate()

getTemplate(  $template_name) : string

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

Parameters

$template_name

Returns

string

l()

l(string  $string) : string

Translatation method

Parameters

string $string

Returns

string —

translated text