CoolCMS API

MyReservationDefaultTrait

The only action `default` (page 303): mounts the list of the logged-in customer's reservations.

See the MyReservationPresenter docblock.

Table of Contents

Properties

$bookingWizardFactory  : BookingWizardFactory
$myReservationListFactory  : MyReservationListFactory

Methods

createComponentFrontCompanyBookingWizard()  : BookingWizard
`{control frontCompanyBookingWizard:button}` above the list: a "Book a time slot" button that opens the wizard in a modal window ({@see \App\UI\Front\Company\Components\BookingWizardComponent\Traits\ModalTrait::handleShowCalendarModal()}).
createComponentFrontCompanyMyReservationList()  : MyReservationList
`{control frontCompanyMyReservationList}`; the name is global (convention `front<Module><Component>`).
renderDefault()  : void

Properties

Methods

createComponentFrontCompanyBookingWizard()

`{control frontCompanyBookingWizard:button}` above the list: a "Book a time slot" button that opens the wizard in a modal window ({@see \App\UI\Front\Company\Components\BookingWizardComponent\Traits\ModalTrait::handleShowCalendarModal()}).

public createComponentFrontCompanyBookingWizard() : BookingWizard

IMPORTANT: it is the same component as on page 304 (one component, two render modes). The presenter passes nothing to it; the mode is carried by the persistent parameter inModal.

Return values
BookingWizard
On this page

Search results