FilterForm

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
see
FilterForm::getViewParameters()

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

$appliedFilters

public array<string|int, mixed> $appliedFilters = []

$defaultParametersValues

public array<string|int, mixed> $defaultParametersValues = []

Methods

__construct()

Constructor method for Filter class.

public __construct(array<string|int, mixed> $arguments) : mixed
Parameters
$arguments : array<string|int, mixed>
Tags
see
Filter
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>
Return values
array<string|int, mixed>

Search results