OrderTrackings
in package
This is the OrderTrackings class, a macro class for the userViewHelper.
The purpose of this class is to encapsulate the logic that calculates the view parameters for the user's order trackings.
Tags
Table of Contents
$itemClass | : string | |
---|---|---|
$shipments | : array<string|int, mixed>|null | |
$showContainer | : bool | |
__construct() | Constructor method for Orders. | : mixed |
getViewParameters() | This method returns all calculated arguments and new parameters for UserViewHelper.php | : array<string|int, mixed> |
getProperties() | Return macro use properties | : array<string|int, mixed> |
Properties
$itemClass
public
string
$itemClass
= 'userOrderActionWrap'
$shipments
public
array<string|int, mixed>|null
$shipments
= null
$showContainer
public
bool
$showContainer
= true
Methods
__construct()
Constructor method for Orders.
public
__construct(array<string|int, mixed> $arguments) : mixed
Parameters
- $arguments : array<string|int, mixed>
Tags
Return values
mixed —getViewParameters()
This method returns all calculated arguments and new parameters for UserViewHelper.php
public
getViewParameters() : array<string|int, mixed>
Return values
array<string|int, mixed> —getProperties()
Return macro use properties
protected
getProperties() : array<string|int, mixed>