ProductQuery
ProductQuery.php
:
13
Final
Constants¶
DEFAULT_LIMIT ¶
ProductQuery.php
:
18
|
|
|
SORT_ASC ¶
ProductQuery.php
:
15
|
|
|
SORT_DESC ¶
ProductQuery.php
:
16
|
|
|
Methods¶
__construct()
¶
ProductQuery.php
:
38
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $filter | CriterionInterface|null | null | - |
| $query | CriterionInterface|null | null | - |
| $sortClauses | array<string|int, SortClause> | [] | - |
| $offset | int | 0 | - |
| $limit | int | ProductQuery::DEFAULT_LIMIT | - |
| $aggregations | array<string|int, Aggregation> | [] | - |
getAggregations()
¶
ProductQuery.php
:
123
|
|
|
Return values
array<string|int, Aggregation>
getFilter()
¶
ProductQuery.php
:
54
|
|
|
Return values
CriterionInterface|null
getLimit()
¶
ProductQuery.php
:
94
|
|
|
Return values
int
getOffset()
¶
ProductQuery.php
:
84
|
|
|
Return values
int
getQuery()
¶
ProductQuery.php
:
69
|
|
|
Return values
CriterionInterface|null
getSortClauses()
¶
ProductQuery.php
:
107
|
|
|
Return values
array<string|int, SortClause>
hasFilter()
¶
ProductQuery.php
:
59
|
|
|
Return values
bool
hasQuery()
¶
ProductQuery.php
:
74
|
|
|
Return values
bool
setAggregations()
¶
ProductQuery.php
:
131
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $aggregations | array<string|int, Aggregation> | - | - |
setFilter()
¶
ProductQuery.php
:
64
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $filter | CriterionInterface|null | - | - |
setLimit()
¶
ProductQuery.php
:
99
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $limit | int | - | - |
setOffset()
¶
ProductQuery.php
:
89
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $offset | int | - | - |
setQuery()
¶
ProductQuery.php
:
79
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $query | CriterionInterface|null | - | - |
setSortClauses()
¶
ProductQuery.php
:
115
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $sortClauses | array<string|int, SortClause> | - | - |