Session#

Whenever you’re dealing with a session in your template, you’re working with a Session object.

Attributes#

AttributeDescription
idThe ID of the session.
eventThe associated Event.
eventIdThe ID of the event this session belongs to.
titleThe title of the session (auto-generated based on the Event Type’s settings).
startDateThe date and time the session starts.
endDateThe date and time the session ends.
isAllDayWhether this session spans the entire day (true or false).
statusThe status of the session (e.g., live, pending, or expired).

Methods#

MethodDescription
getCpEditUrl()Returns the URL to edit this session in the control panel.
getTickets()Returns a collection of Ticket objects for this session.

Previous ← Event Next Ticket Type →