CalendarServiceInterface
CalendarServiceInterface.php
:
13
Constants¶
GROUP_BY_DAY ¶
CalendarServiceInterface.php
:
15
|
|
GROUP_BY_WEEK ¶
CalendarServiceInterface.php
:
16
|
|
Methods¶
executeAction() ¶
CalendarServiceInterface.php
:
23
Executes action.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$context | EventActionContext | - | - |
Tags
getEvents() ¶
CalendarServiceInterface.php
:
35
Get events matching given criteria.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$query | EventQuery | - | - |
Return values
getGroupedEvents() ¶
CalendarServiceInterface.php
:
40
Get and group events matching given criteria.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$query | EventQuery | - | - |
$groupBy | string | CalendarServiceInterface::GROUP_BY_DAY | - |
Return values
loadEvents() ¶
CalendarServiceInterface.php
:
30
Bulk-load Events with given id's. Erroneous events will be skipped.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$eventsIds | array<string|int, string> | - | - |