.. ================================================== .. FOR YOUR INFORMATION .. -------------------------------------------------- .. -*- coding: utf-8 -*- with BOM. .. include:: ../../../Includes.txt .. _getters: Special Getters =============== Some domain objects contain special getters which are used in templates to avoid complex fluid conditions. Event ~~~~~ The Event-Object has the following special getters .. t3-field-list-table:: :header-rows: 1 - :Object: Getter: :Description: Description: - :Object: {event.registrationPossible} :Description: Returns, if registration for the event is possible. This getter respects if registration is enabled, if max. participants is configured/reached, if registration deadline is configured/reached and if registration deadline / event startdate is reached. - :Object: {event.freePlaces} :Description: Returns the amount of free places for an event - :Object: {event.activePriceOptions} :Description: Returns all active price options sorted by date ASC - :Object: {event.currentPrice} :Description: Returns the current price of the event respecting possible price options - :Object: {event.cancellationPossible} :Description: Returns, if cancellation for registrations of the event is possible - :Object: {event.registrationFieldsUids} :Description: Returns an array with registration field uids - :Object: {event.registrations} :Description: Special getter to return the amount of registrations that are saved to default language - :Object: {event.registrationsWaitlist} :Description: Special getter to return the amount of waitlist registrations that are saved to default language - :Object: {event.endsSameDay} :Description: Returns if the event ends on the same day - :Object: {event.images} :Description: Returns the same ans {event.image} - :Object: {event.listViewImages} :Description: Returns all images from {event.image} that are configured to be shown in list view - :Object: {event.firstListViewImage} :Description: Returns the first image from {event.image} which is configured to be shown in list view - :Object: {event.detailViewImages} :Description: Returns all images from {event.image} that are configured to be shown in detail view - :Object: {event.firstDetailViewImage} :Description: Returns the first image from {event.image} which is configured to be shown in detail view