RewardPoints
in package

This is the RewardPoints class, a macro class for the basketViewHelper.

The purpose of this class is to encapsulate the logic that calculates the view parameters for the basket reward points.

Tags
see
RewardPoints::getViewParameters()

Table of Contents

$basket  : Basket|null
$class  : string
$showHeader  : bool
__construct() Constructor method for RewardPoints.  : 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

Methods

__construct()

Constructor method for RewardPoints.

public __construct(array<string|int, mixed> $arguments) : mixed
Parameters
$arguments : array<string|int, mixed>
Tags
see
RewardPoints
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>
Return values
array<string|int, mixed>

Search results