RewardPoints

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

The purpose of this class is to encapsulate the logic that calculates the view parameters for the product's wishlist button.

Tags
see
RewardPoints::getViewParameters()

Table of Contents

$rewardPoints  : ElementCollection|null
$showHeader  : bool
$showRulesCondition  : bool
$showRulesHeader  : bool
__construct() Constructor method for RewardPoints class.  : mixed
getViewParameters() This method returns all calculated arguments and new parameters for ProductViewHelper.php  : array<string|int, mixed>
getProperties()  : array<string|int, mixed>

Properties

$rewardPoints

public ElementCollection|null $rewardPoints = null

$showRulesCondition

public bool $showRulesCondition = true

Methods

__construct()

Constructor method for RewardPoints class.

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 ProductViewHelper.php

public getViewParameters() : array<string|int, mixed>
Return values
array<string|int, mixed>

getProperties()

protected getProperties() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results