Whenever you’re dealing with a session in your template, you’re working with a Session
object.
Attribute | Description |
id | The ID of the session. |
event | The associated Event. |
eventId | The ID of the event this session belongs to. |
title | The title of the session (auto-generated based on the Event Type’s settings). |
startDate | The date and time the session starts. |
endDate | The date and time the session ends. |
isAllDay | Whether this session spans the entire day (true or false). |
status | The status of the session (e.g., live , pending , or expired ). |
Method | Description |
getCpEditUrl() | Returns the URL to edit this session in the control panel. |
getTickets() | Returns a collection of Ticket objects for this session. |