phpDocumentor

OrdersOverviewTooltips
in package

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.

Tags
category

System

subpackage

Orders

Table of Contents

$contentView  : ContentView
$db  : CI_DB_query_builder
__construct()  : mixed
OrdersOverviewTooltips 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
_getInvoice()  : mixed
_getOrderItems()  : string
Get Order Items Tooltip HTML
_getOrderStatusHistory()  : string
Get Order Status History Tooltip HTML
_getOrderSumBlock()  : string
Get Order Sum Block Tooltip HTML
_getOrderWithdrawals()  : string
Get order withdrawal IDs
_getShippingCosts()  : string
Get Shipping Costs Tooltip HTML
_getTrackingLinks()  : string
Get Tracking Links
_render()  : string
Renders and returns a template file.

Properties

Methods

getRowTooltips()

Get the row tooltip HTML for each displayed tooltip.

public getRowTooltips(OrderListItem $orderListItem) : array<string|int, mixed>
Parameters
$orderListItem : OrderListItem

Contains the order 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