EventList
EventList.php
:
20
Implements
IteratorAggregate
List of events being the result of executing event query.
Tags
Methods¶
__construct() ¶
EventList.php
:
36
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$query | EventQuery | - |
Query used to fetch events. |
$events | EventCollection | - |
List of events. |
$totalCount | int | 0 |
Total number of events matching query. |
createEmpty() ¶
EventList.php
:
93
Creates empty event list.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$query | EventQuery | - | - |
Return values
self
getEvents() ¶
EventList.php
:
43
|
|
Return values
getIterator() ¶
EventList.php
:
64
|
|
Return values
Iterator
getNextPageQuery() ¶
EventList.php
:
72
Returns next page query or null if no more events.
|
|
Return values
EventQuery|null
getQuery() ¶
EventList.php
:
59
Returns query used to fetch events.
|
|
Return values
getTotalCount() ¶
EventList.php
:
51
Returns total number of events matching query.
|
|
Return values
int