QueryFieldLocationService
QueryFieldLocationService.php
:
15
Interface
Executes queries for a query field for a given a location.
Methods¶
countContentItemsForLocation()
¶
QueryFieldLocationService.php
:
34
Counts the results for the given location.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$location | Location | - | - |
$fieldDefinitionIdentifier | string | - | - |
Return values
int
loadContentItemsForLocation()
¶
QueryFieldLocationService.php
:
22
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
:
29
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>