Exporter
Event Exporter.
- Full name:
\boundstate\events\services\Exporter - Parent class:
Component
Constants¶
| Constant | Visibility | Type | Value |
|---|---|---|---|
AFTER_BUILD_ICS_EVENT |
public | 'beforeExport' |
Methods¶
toIcs¶
Returns ICS file contents.
Parameters:
| Parameter | Type | Description |
|---|---|---|
$elements |
\craft\base\ElementInterface|\craft\base\ElementInterface[] |
toMultipleIcs¶
Returns ICS file contents for each calendar event.
public toMultipleIcs(\craft\base\ElementInterface|\craft\base\ElementInterface[] $elements, \craft\elements\User|\craft\elements\User[]|string|string[] $attendees, ?string $method): string[]
Parameters:
| Parameter | Type | Description |
|---|---|---|
$elements |
\craft\base\ElementInterface|\craft\base\ElementInterface[] | |
$attendees |
\craft\elements\User|\craft\elements\User[]|string|string[] | Array of users or in the format: [email => name]. |
$method |
?string | https://datatracker.ietf.org/doc/html/rfc2446#section-3.2 |