BookingControl extends StepControl
in package

Tags
since
3.8

Table of Contents

$editBooking  : Booking
__construct()  : mixed
display()  : mixed
setup()  : mixed
mergeRooms()  : array<string|int, ReservedRoom>

Properties

$editBooking

protected Booking $editBooking = null

Methods

__construct()

public __construct(Booking $editBooking) : mixed
Parameters
$editBooking : Booking
Return values
mixed

display()

public display(Booking $editBooking, array<string|int, mixed> $settings) : mixed
Parameters
$editBooking : Booking

Completely similar to the booking in the constructor.

$settings : array<string|int, mixed>
Tags
see
EditBookingMenuPage2::renderValid()
Return values
mixed

setup()

public setup() : mixed
Return values
mixed

mergeRooms()

protected mergeRooms(array<string|int, mixed> $parsedRooms, array<string|int, ReservedRoom$reservedRooms) : array<string|int, ReservedRoom>
Parameters
$parsedRooms : array<string|int, mixed>
$reservedRooms : array<string|int, ReservedRoom>
Return values
array<string|int, ReservedRoom>

Search results