SearchStep
extends Step
in package
First 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>
- $roomTypeId : int
- __construct() : mixed
- isValidStep() : mixed
- printDateHiddenFields() : mixed
- printQueryHiddenFields() : 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
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()
$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 —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