QueryFieldLocationService
QueryFieldLocationService.php
:
16
Interface
Executes queries for a query field for a given a location.
Methods¶
countContentItemsForLocation()
¶
QueryFieldLocationService.php
:
40
Counts the results for the given location.
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $location | Location | - | - |
| $fieldDefinitionIdentifier | string | - | - |
Return values
int
loadContentItemsForLocation()
¶
QueryFieldLocationService.php
:
23
Returns the query results for the given location.
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $location | Location | - | - |
| $fieldDefinitionIdentifier | string | - | - |
Return values
iterable<string|int, Content>
loadContentItemsSliceForLocation()
¶
QueryFieldLocationService.php
:
30
Returns a slice of the query results for the given location.
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $location | Location | - | - |
| $fieldDefinitionIdentifier | string | - | - |
| $offset | int | - | - |
| $limit | int | - | - |
Return values
iterable<string|int, Content>