PhysicalLocationsFilter
in package
This is the PhysicalLocationsFilter class, a macro class for the utilViewHelper.
The purpose of this class is to encapsulate the logic that calculates the view parameters for the util's pagination.
Tags
Table of Contents
$countries | : ElementCollection|null | |
---|---|---|
$defaultCountry | : string | |
$physicalLocationsFilter | : array<string|int, mixed> | |
__construct() | Constructor method for PhysicalLocationsFilter | : mixed |
getViewParameters() | This method returns all calculated arguments and new parameters for UtilViewHelper.php | : array<string|int, mixed> |
getProperties() | Return macro use properties | : array<string|int, mixed> |
Properties
$countries
public
ElementCollection|null
$countries
= null
$defaultCountry
public
string
$defaultCountry
= ''
$physicalLocationsFilter
public
array<string|int, mixed>
$physicalLocationsFilter
= []
Methods
__construct()
Constructor method for PhysicalLocationsFilter
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> —getProperties()
Return macro use properties
protected
getProperties() : array<string|int, mixed>