StockAlerts
in package
This is the StockAlerts 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 lostPassword.
Tags
Table of Contents
$allowRemove | : bool | |
---|---|---|
$stockAlerts | : ElementCollection|null | |
__construct() | Constructor method for StockAlerts. | : 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
$allowRemove
public
bool
$allowRemove
= true
$stockAlerts
public
ElementCollection|null
$stockAlerts
= null
Methods
__construct()
Constructor method for StockAlerts.
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>