EventQuery
EventQuery.php
:
19
Defines parameters used to fetch events.
Use EventQueryBuilder instead of creating this object directly.
Tags
Constants¶
DEFAULT_COUNT ¶
EventQuery.php
:
21
|
|
Methods¶
__construct() ¶
EventQuery.php
:
38
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$dateRange | DateRange | - | - |
$count | int | EventQuery::DEFAULT_COUNT | - |
$types | array<string|int, mixed>|null | null | - |
$languages | array<string|int, mixed>|null | null | - |
$cursor | Cursor|null | null | - |
getCount() ¶
EventQuery.php
:
63
Returns number of events to fetch.
|
|
Return values
int
getCursor() ¶
EventQuery.php
:
68
|
|
Return values
Cursor|null
getDateRange() ¶
EventQuery.php
:
55
Returns date range to fetch events for.
|
|
Return values
getLanguages() ¶
EventQuery.php
:
88
Returns languages to fetch events for.
|
|
Return values
array<string|int, Language>|null
getTypes() ¶
EventQuery.php
:
78
Returns event types to fetch events for.
|
|
Return values
array<string|int, string>|null
modify() ¶
EventQuery.php
:
98
Allows to modify this query using EventQueryBuilder.
|
|