\EventRegistration
Represents a registration to an event.
Synopsis
class EventRegistration
extends DataObject
{
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static array $has_many = ;
- private static array $summary_fields = ;
- private static array $casting = ;
- private static array $registrant_fields = ;
- // methods
- protected void onBeforeWrite()
- public void getCMSFields()
- public void contactableAttendees()
- public FieldList getMainContactField()
- public FieldList getRegistrantContactFieldsGroup()
- public string getTitle()
- public string getName()
- public string getRegistrant()
- public int TotalQuantity()
- public void Tickets()
- public array getTicketQuantities()
- public EventAttendee createAttendee()
- public SS_Datetime ConfirmTimeLimit()
- public string getDescription()
- public void calculateTotal()
- public void getTotalOutstanding()
- public void isSubmitted()
- public void canPay()
- public void canSubmit()
- public string Link()
- public void canCreate()
- public void canEdit()
- public void canDelete()
- public void canView()
Hierarchy
Extends
- DataObject
Members
private
- $casting
- $db
- $has_many
- $has_one
- $registrant_fields
- $summary_fields
Methods
protected
public
- ConfirmTimeLimit()
- Link()
- Tickets() — Get all the ticket types selected for this registration.
- TotalQuantity() — Total number of atendees / spaces for this registration
- calculateTotal()
- canCreate()
- canDelete()
- canEdit()
- canPay()
- canSubmit()
- canView()
- contactableAttendees() — Get attendees that have populated registrant details.
- createAttendee() — Create an attendee in this registration with the given ticket.
- getCMSFields()
- getDescription() — Generate a desicrption of the tickets in the registration
- getMainContactField() — Field for capturing which attendee is the main contact
- getName() — Get the full name of the registrant.
- getRegistrant() — Get the name and email of the reistrant
- getRegistrantContactFieldsGroup() — Fields for capturing details of person doing registration.
- getTicketQuantities() — Get an array of ticketid => quantity
- getTitle() — Return an appropriate name for this registration
- getTotalOutstanding()
- isSubmitted()