FilterForm
in package
This is the FilterForm 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 filterForm.
Tags
Table of Contents
$applicableFilters | : ApplicableFilters|null | |
---|---|---|
$appliedFilters | : array<string|int, mixed> | |
$autosubmit | : bool | |
$defaultParametersValues | : array<string|int, mixed> | |
$filters | : Filter|null | |
__construct() | Constructor method for Filter class. | : mixed |
getViewParameters() | This method returns all calculated arguments and new parameters for ProductViewHelper.php | : array<string|int, mixed> |
getProperties() | Return macro use properties | : array<string|int, mixed> |
Properties
$applicableFilters
public
ApplicableFilters|null
$applicableFilters
= null
$appliedFilters
public
array<string|int, mixed>
$appliedFilters
= []
$autosubmit
public
bool
$autosubmit
= false
$defaultParametersValues
public
array<string|int, mixed>
$defaultParametersValues
= []
$filters
public
Filter|null
$filters
= null
Methods
__construct()
Constructor method for Filter class.
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 ProductViewHelper.php
public
getViewParameters() : array<string|int, mixed>
Return values
array<string|int, mixed> —getProperties()
Return macro use properties
protected
getProperties() : array<string|int, mixed>