phpDocumentor

InvoicesOverviewTooltips
in package

Class InvoicesOverviewTooltips

This class generates the required HTML for the tooltips of each row in the invoices overview table. In order to be faster do not use any services but fetch the data directly with DB queries.

Tags
category

System

subpackage

Invoices

Table of Contents

$contentView  : ContentView
$db  : CI_DB_query_builder
__construct()  : mixed
InvoicesOverviewTooltips constructor.
getRowTooltips()  : array<string|int, mixed>
Get the row tooltip HTML for each displayed tooltip.
_getCustomerAddresses()  : string
Get Customer Addresses Tooltip HTML
_getCustomerMemos()  : string
Get Customer Memo Tooltip HTML
_getInvoiceItems()  : string
Get Invoice Items Tooltip HTML
_getOrderStatusHistory()  : string
Get Order Status History Tooltip HTML
_render()  : string
Renders and returns a template file.

Properties

Methods

getRowTooltips()

Get the row tooltip HTML for each displayed tooltip.

public getRowTooltips(InvoiceListItem $invoiceListItem) : array<string|int, mixed>
Parameters
$invoiceListItem : InvoiceListItem

Contains the invoice list item data.

Return values
array<string|int, mixed>

_render()

Renders and returns a template file.

protected _render(string $templateFile, array<string|int, mixed> $contentArray) : string
Parameters
$templateFile : string

Template file to render.

$contentArray : array<string|int, mixed>

Content array which represent the variables of the template.

Return values
string

Rendered template.

Search results