Copied!

QueryTypeInterface

QueryTypeInterface.php : 16

A QueryType is a pre-defined product query.

Methods

publicgetName()

QueryTypeInterface.php : 39

Returns the QueryType name.

public static getName() : string

Return values

string

publicgetQuery()

QueryTypeInterface.php : 25

Builds and returns the Query object.

public getQuery([array<string, mixed> $parameters = [] ]) : ProductQuery

Parameters

Name Type Default value Description
$parameters array<string, mixed> []

A hash of parameters that will be used to build the Query

Return values

ProductQuery

publicgetSupportedParameters()

QueryTypeInterface.php : 32

Returns an array listing the parameters supported by the QueryType.

public getSupportedParameters() : array<string|int, string>

Return values

array<string|int, string>