Returns an array of unique event locations for an event by traversing all performances or null. Can be used to display the event locations for an event by iterating over the result.
note: This view helper replaces the render type uniqueLocationList of Event/PerformancesViewHelper
Unique event locations of an event
<ts:location.unique event="{event}" />
Output
array (depending on the number of locations in {event.performances})
Inline usage
{ts:location.unique(event: event)}
Argument | Type | Description |
---|---|---|
event | instance of DWenzel\T3events\Domain\Model\Event | required |