This class is used to perform a URL query.
Properties¶
$filter¶
URLQuery.php
:
23
The Query filter.
|
|
$limit¶
URLQuery.php
:
49
Query limit.
|
|
Limit for number of search hits to return.
If value is 0
, search query will not return any search hits, useful for doing a count.
$offset¶
URLQuery.php
:
39
Query offset.
|
|
Sets the offset for search hits, used for paging the results.
$performCount¶
URLQuery.php
:
56
If true, search engine should perform count even if that means extra lookup.
|
|
$sortClauses¶
URLQuery.php
:
30
Query sorting clauses.
|
|
Methods¶
__construct() ¶
ValueObject.php
:
30
Construct object optionally with a set of properties.
|
|
Readonly properties values must be set using $properties as they are not writable anymore after object has been created.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$properties | array<string|int, mixed> | [] | - |
getProperties() ¶
ValueObject.php
:
50
Function where list of properties are returned.
|
|
Used by attributes(), override to add dynamic properties
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$dynamicProperties | array<string|int, mixed> | [] |
Additional dynamic properties exposed on the object |
Return values
array<string|int, mixed>