QuickEditOverviewTooltips
in package
implements
QuickEditOverviewTooltipsInterface
Class QuickEditOverviewTooltips
Tags
Interfaces, Classes and Traits
- QuickEditOverviewTooltipsInterface
- Interface QuickEditOverviewTooltipsInterface
Table of Contents
- $contentView : ContentView
- $db : CI_DB_query_builder
- __construct() : mixed
- QuickEditTooltips constructor.
- getRowTooltips() : array<string|int, mixed>
- Returns the data of a product for the tooltip.
- _getSpecials() : string
- Provides the data for a product as a special offer.
- _render() : string
- Returns the view for the tooltip.
Properties
$contentView
protected
ContentView
$contentView
$db
protected
CI_DB_query_builder
$db
Methods
__construct()
QuickEditTooltips constructor.
public
__construct() : mixed
Return values
mixed —getRowTooltips()
Returns the data of a product for the tooltip.
public
getRowTooltips(QuickEditProductListItem $data) : array<string|int, mixed>
Parameters
- $data : QuickEditProductListItem
-
QuickEdit product collection.
Return values
array<string|int, mixed> —Returns the data of a product for the tooltip.
_getSpecials()
Provides the data for a product as a special offer.
protected
_getSpecials(QuickEditProductListItem $data) : string
Parameters
- $data : QuickEditProductListItem
-
QuickEdit product collection.
Return values
string —Returns the data for a product as a special offer.
_render()
Returns the view for the tooltip.
protected
_render(string $templateFile, array<string|int, mixed> $contentArray) : string
Parameters
- $templateFile : string
-
Template file.
- $contentArray : array<string|int, mixed>
-
Content Array.
Return values
string —Returns the view for the tooltip.