SignalTrait
Wizard navigation: calendar switch, month forward/back, day choice, return to the grid and the slot-choice signal.
Skeleton guard, action, redraw (cs-conv-signals). There are two snippets: flashMessages and
wizard (header + exactly one of the month/day states; the day replaces the month).
Table of Contents
Methods
- handleBackToMonth() : void
- handleChangeMonth() : void
- handleSelectCalendar() : void
- handleSelectDay() : void
- handleSelectSlot() : void
- Handles a click on a slot block: opens the booking modal with the recap and the form.
Methods
handleBackToMonth()
public
handleBackToMonth() : void
handleChangeMonth()
public
handleChangeMonth(string $month) : void
Parameters
- $month : string
handleSelectCalendar()
public
handleSelectCalendar(int $calendarId) : void
Parameters
- $calendarId : int
handleSelectDay()
public
handleSelectDay(string $day) : void
Parameters
- $day : string
handleSelectSlot()
Handles a click on a slot block: opens the booking modal with the recap and the form.
public
handleSelectSlot(string $from, string $to) : void
IMPORTANT: the (from, to) pair is verified against the server-computed starts of the chosen
day; the client is not trusted even here. An invalid pair does not open the modal, it only says
the slot is gone.
Parameters
- $from : string
- $to : string