ResultsStep extends Step
in package

Second step.

Table of Contents

$adults  : int
$checkInDate  : DateTime|null
$checkOutDate  : DateTime|null
$children  : int
$id  : mixed
$isValidStep  : bool
$name  : mixed
$nextUrl  : mixed
$parseErrors  : array<string|int, mixed>
$rooms  : array<string|int, mixed>
[%Room type ID% => [title, rooms => [id, type_id, title, adults, children, price]]]
$roomTypeId  : int
__construct()  : mixed
isValidStep()  : mixed
printDateHiddenFields()  : mixed
printQueryHiddenFields()  : mixed
printWrapperHeader()  : mixed
render()  : mixed
setNextUrl()  : mixed
setup()  : mixed
parseAdults()  : int
parseCheckInDate()  : DateTime|null
parseCheckOutDate()  : DateTime|null
parseChildren()  : int
parseError()  : mixed
parseFields()  : mixed
parseInput()  : mixed
parseRoomTypeId()  : int
renderInvalid()  : mixed
renderValid()  : mixed
filterRoomsByCapacity()  : mixed
filterRoomsByRates()  : mixed
filterRoomsByRules()  : mixed
pullRoomsData()  : mixed

Properties

$adults

protected int $adults = -1

$checkInDate

protected DateTime|null $checkInDate = null

$checkOutDate

protected DateTime|null $checkOutDate = null

$children

protected int $children = -1

$id

protected mixed $id = ''

$isValidStep

protected bool $isValidStep = false

$name

protected mixed $name = 'abstract'

$nextUrl

protected mixed $nextUrl = ''

$parseErrors

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

$rooms

[%Room type ID% => [title, rooms => [id, type_id, title, adults, children, price]]]

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

$roomTypeId

protected int $roomTypeId = 0

Methods

__construct()

public __construct() : mixed
Return values
mixed

isValidStep()

public isValidStep() : mixed
Return values
mixed

printDateHiddenFields()

public printDateHiddenFields() : mixed
Return values
mixed

printQueryHiddenFields()

public printQueryHiddenFields() : mixed
Return values
mixed

printWrapperHeader()

public printWrapperHeader() : mixed
Return values
mixed

render()

public render() : mixed
Return values
mixed

setNextUrl()

public setNextUrl(mixed $url) : mixed
Parameters
$url : mixed
Return values
mixed

setup()

public setup() : mixed
Return values
mixed

parseAdults()

protected parseAdults(int $input) : int
Parameters
$input : int

INPUT_POST (0) or INPUT_GET (1)

Return values
int

parseCheckInDate()

protected parseCheckInDate(int $input) : DateTime|null
Parameters
$input : int

INPUT_POST (0) or INPUT_GET (1)

Return values
DateTime|null

parseCheckOutDate()

protected parseCheckOutDate(int $input) : DateTime|null
Parameters
$input : int

INPUT_POST (0) or INPUT_GET (1)

Return values
DateTime|null

parseChildren()

protected parseChildren(int $input) : int
Parameters
$input : int

INPUT_POST (0) or INPUT_GET (1)

Return values
int

parseError()

protected parseError(mixed $message) : mixed
Parameters
$message : mixed
Return values
mixed

parseFields()

protected parseFields() : mixed
Return values
mixed

parseInput()

protected parseInput() : mixed
Return values
mixed

parseRoomTypeId()

protected parseRoomTypeId(int $input) : int
Parameters
$input : int

INPUT_POST (0) or INPUT_GET (1)

Return values
int

renderInvalid()

protected renderInvalid() : mixed
Return values
mixed

renderValid()

protected renderValid() : mixed
Return values
mixed

filterRoomsByCapacity()

private filterRoomsByCapacity(mixed $rooms) : mixed
Parameters
$rooms : mixed
Return values
mixed

filterRoomsByRates()

private filterRoomsByRates(mixed $rooms) : mixed
Parameters
$rooms : mixed
Return values
mixed

filterRoomsByRules()

private filterRoomsByRules(mixed $rooms) : mixed
Parameters
$rooms : mixed
Return values
mixed

pullRoomsData()

private pullRoomsData(mixed $rooms) : mixed
Parameters
$rooms : mixed
Return values
mixed

Search results