- Class name: HTMLTemplateOrderSlipCore
- Parent class: HTMLTemplateInvoice
- Source: classes/pdf/HTMLTemplateOrderSlip.php line 30
- __construct
- assignHookData
- getBulkFilename
- getContent
- getFilename
- getFooter
- getHeader
- getLogo
- getProductTaxesBreakdown
- getShippingTaxesBreakdown
- getShopAddress
- getTaxTabContent
- getTemplate
- getTemplateByCountry
- l
public mixed $order
- Visibility: public
- Source: classes/pdf/HTMLTemplateOrderSlip.php line 32.
public mixed $order_slip
- Visibility: public
- Source: classes/pdf/HTMLTemplateOrderSlip.php line 33.
public mixed $available_in_your_account = false
- Visibility: public
- This property is defined by HTMLTemplateInvoiceCore.
- Source: classes/pdf/HTMLTemplateInvoice.php line 33.
public mixed $date
- Visibility: public
- This property is defined by HTMLTemplateCore.
- Source: classes/pdf/HTMLTemplate.php line 33.
public mixed $shop
- Visibility: public
- This property is defined by HTMLTemplateCore.
- Source: classes/pdf/HTMLTemplate.php line 36.
public mixed $smarty
- Visibility: public
- This property is defined by HTMLTemplateCore.
- Source: classes/pdf/HTMLTemplate.php line 35.
public mixed $title
- Visibility: public
- This property is defined by HTMLTemplateCore.
- Source: classes/pdf/HTMLTemplate.php line 32.
mixed HTMLTemplateOrderSlipCore::__construct(\OrderSlip $order_slip, $smarty)
- Visibility: public
- Source: classes/pdf/HTMLTemplateOrderSlip.php line 35
- $order_slip OrderSlip
- $smarty mixed
mixed HTMLTemplateCore::assignHookData($object)
Assign hook data
- Visibility: public
- This method is defined by HTMLTemplateCore.
- Source: classes/pdf/HTMLTemplate.php line 142
- $object mixed - generally the object used in the constructor
string HTMLTemplateOrderSlipCore::getBulkFilename()
Returns the template filename when using bulk rendering
- Visibility: public
- Source: classes/pdf/HTMLTemplateOrderSlip.php line 146
string HTMLTemplateOrderSlipCore::getContent()
Returns the template's HTML content
- Visibility: public
- Source: classes/pdf/HTMLTemplateOrderSlip.php line 60
string HTMLTemplateOrderSlipCore::getFilename()
Returns the template filename
- Visibility: public
- Source: classes/pdf/HTMLTemplateOrderSlip.php line 155
string HTMLTemplateCore::getFooter()
Returns the template's HTML footer
- Visibility: public
- This method is defined by HTMLTemplateCore.
- Source: classes/pdf/HTMLTemplate.php line 77
string HTMLTemplateCore::getHeader()
Returns the template's HTML header
- Visibility: public
- This method is defined by HTMLTemplateCore.
- Source: classes/pdf/HTMLTemplate.php line 42
mixed HTMLTemplateCore::getLogo()
Returns the invoice logo
- Visibility: protected
- This method is defined by HTMLTemplateCore.
- Source: classes/pdf/HTMLTemplate.php line 121
mixed HTMLTemplateOrderSlipCore::getProductTaxesBreakdown()
- Visibility: public
- Source: classes/pdf/HTMLTemplateOrderSlip.php line 184
mixed HTMLTemplateOrderSlipCore::getShippingTaxesBreakdown()
- Visibility: public
- Source: classes/pdf/HTMLTemplateOrderSlip.php line 250
string HTMLTemplateCore::getShopAddress()
Returns the shop address
- Visibility: protected
- This method is defined by HTMLTemplateCore.
- Source: classes/pdf/HTMLTemplate.php line 102
mixed HTMLTemplateOrderSlipCore::getTaxTabContent()
Returns the tax tab content
- Visibility: public
- Source: classes/pdf/HTMLTemplateOrderSlip.php line 163
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
- Visibility: protected
- This method is defined by HTMLTemplateCore.
- Source: classes/pdf/HTMLTemplate.php line 178
- $template_name mixed
mixed HTMLTemplateInvoiceCore::getTemplateByCountry(string $iso_country)
Returns the invoice template associated to the country iso_code
- Visibility: protected
- This method is defined by HTMLTemplateInvoiceCore.
- Source: classes/pdf/HTMLTemplateInvoice.php line 142
- $iso_country string
string HTMLTemplateCore::l(string $string)
Translatation method
- Visibility: protected
- This method is static.
- This method is defined by HTMLTemplateCore.
- Source: classes/pdf/HTMLTemplate.php line 198
- $string string