SummaryControl extends StepControl
in package

Tags
since
3.8

Table of Contents

$checkInDate  : DateTime
$checkOutDate  : DateTime
$editBooking  : Booking
$mapRooms  : array<string|int, mixed>
__construct()  : mixed
display()  : mixed
setup()  : mixed
mapRooms()  : array<string|int, mixed>
parseAddRooms()  : array<string|int, int>
parseReplaceRooms()  : array<string|int, int>

Properties

$checkInDate

protected DateTime $checkInDate = null

$checkOutDate

protected DateTime $checkOutDate = null

$editBooking

protected Booking $editBooking = null

$mapRooms

protected array<string|int, mixed> $mapRooms = array()

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

mapRooms()

protected mapRooms(array<string|int, int> $replaceRooms, array<string|int, int> $addRooms) : array<string|int, mixed>
Parameters
$replaceRooms : array<string|int, int>
$addRooms : array<string|int, int>
Return values
array<string|int, mixed>

[Room ID => Reserved room ID]

parseAddRooms()

protected parseAddRooms() : array<string|int, int>
Return values
array<string|int, int>

[Room (IDs) to add]

parseReplaceRooms()

protected parseReplaceRooms() : array<string|int, int>
Return values
array<string|int, int>

[Reserved room ID => Room ID]

Search results