EditControl extends StepControl
in package

Tags
since
3.8

Table of Contents

$availableRooms  : array<string|int, mixed>
All available rooms for current dates, including the rooms booked in the editing booking.
$checkInDate  : DateTime
$checkOutDate  : DateTime
$editBooking  : Booking
$reservedRooms  : array<string|int, mixed>
__construct()  : mixed
addTranslations()  : mixed
display()  : mixed
setup()  : mixed

Properties

$availableRooms

All available rooms for current dates, including the rooms booked in the editing booking.

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

$checkInDate

protected DateTime $checkInDate = null

$checkOutDate

protected DateTime $checkOutDate = null

$editBooking

protected Booking $editBooking = null

$reservedRooms

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

Methods

__construct()

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

addTranslations()

public addTranslations(mixed $jsData) : mixed
Parameters
$jsData : mixed
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
Tags
throws
RuntimeException
Return values
mixed

Search results