Session
Whenever you’re dealing with a session in your template, you’re working with a Session object.
Properties
Type: int|null
The ID of the session.
Type: verbb\events\elements\Event|null
The associated Event.
Type: string|null
The title of the session (auto-generated based on the Event Type’s settings).
Type: DateTime|null
The date and time the session starts.
Type: DateTime|null
The date and time the session ends.
Type: bool
Whether this session spans the entire day (true or false).
Type: string|null
The status of the session (e.g., live, pending, or expired).
Methods
Returns: string|null
Returns the URL to edit this session in the control panel.
Returns: verbb\events\elements\TicketCollection
Returns a collection of Ticket objects for this session.
Returns: string
Returns a URL to download the ICS (iCalendar) file for this single session.