BookingControl
extends StepControl
in package
Tags
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
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>