OrdersOverviewTooltips

Class OrdersOverviewTooltips

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

category

System

package

Extensions

subpackage

Orders

Methods

OrdersOverviewTooltips constructor.

__construct() 

Get Customer Addresses Tooltip HTML

_getCustomerAddresses(\OrderListItem $orderListItem) : string

Arguments

$orderListItem

\OrderListItem

Response

string

Get Customer Memo Tooltip HTML

_getCustomerMemos(\OrderListItem $orderListItem) : string

Arguments

$orderListItem

\OrderListItem

Response

string

_getInvoice

_getInvoice(\OrderListItem $orderListItem) 

Arguments

$orderListItem

\OrderListItem

Get Order Items Tooltip HTML

_getOrderItems(\OrderListItem $orderListItem) : string

Arguments

$orderListItem

\OrderListItem

Response

string

Get Order Status History Tooltip HTML

_getOrderStatusHistory(\OrderListItem $orderListItem) : string

Arguments

$orderListItem

\OrderListItem

Response

string

Get Order Sum Block Tooltip HTML

_getOrderSumBlock(\OrderListItem $orderListItem) : string

Arguments

$orderListItem

\OrderListItem

Response

string

Get Shipping Costs Tooltip HTML

_getShippingCosts(\OrderListItem $orderListItem) : string

Arguments

$orderListItem

\OrderListItem

Response

string

Renders and returns a template file.

_render(string $templateFile, array $contentArray) : string

Arguments

$templateFile

string

Template file to render.

$contentArray

array

Content array which represent the variables of the template.

Response

string

Rendered template.

Get the row tooltip HTML for each displayed tooltip.

getRowTooltips(\OrderListItem $orderListItem) : array

Arguments

$orderListItem

\OrderListItem

Contains the order list item data.

Response

array

Properties

contentView

contentView : \ContentView
var

Type(s)

\ContentView

db

db : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder