Reference

Session

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

Properties

id

The ID of the session.

event

The associated Event.

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.

allDay

Whether this session spans the entire day (true or false).

status

The status of the session (e.g., live, pending, or expired).

Methods

getCpEditUrl()

Returns the URL to edit this session in the control panel.

getTickets()

Returns a collection of Ticket objects for this session.

getIcsUrl()

Returns a URL to download the ICS (iCalendar) file for this single session.