CoreJsEnvironmentVariables
in package
This is the CoreJsEnvironmentVariables class, a macro class for the utilViewHelper.
The purpose of this class is to encapsulate the logic that calculates the view parameters for the trackers output.
Tags
Table of Contents
$languageCode | : string | |
---|---|---|
$mobileAgents | : string | |
$productAvailabilities | : ElementCollection|null | |
__construct() | Constructor method for CoreJsEnvironmentVariables | : mixed |
getViewParameters() | This method returns all calculated arguments and new parameters for UtilViewHelper.php | : array<string|int, mixed> |
setBatchData() | This static method adds to a batch request, a need variables. | : void |
getProperties() | Return macro use properties | : array<string|int, mixed> |
Properties
$languageCode
public
string
$languageCode
= ''
$mobileAgents
public
string
$mobileAgents
= ''
$productAvailabilities
public
ElementCollection|null
$productAvailabilities
= null
Methods
__construct()
Constructor method for CoreJsEnvironmentVariables
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 UtilViewHelper.php
public
getViewParameters() : array<string|int, mixed>
Return values
array<string|int, mixed> —setBatchData()
This static method adds to a batch request, a need variables.
public
static setBatchData(BatchRequests $request) : void
Parameters
- $request : BatchRequests
Return values
void —getProperties()
Return macro use properties
protected
getProperties() : array<string|int, mixed>