BookingConfirmationAction
in package

Table of Contents

QUERY_ACTION  = 'confirm_email'
STATUS_ALREADY_CONFIRMED  = 'already-confirmed'
STATUS_CONFIRMATION_NOT_POSSIBLE  = 'confirmation-not-possible'
STATUS_CONFIRMED  = 'confirmed'
STATUS_EXPIRED  = 'expired'
STATUS_INVALID_REQUEST  = 'invalid-request'
$booking  : Booking
$ttl  : int
__construct()  : mixed
checkConfirmation()  : mixed
generateLink()  : string
isActualTTL()  : bool
issetRequiredParameters()  : bool
parseRequest()  : bool
redirectWithStatus()  : mixed

Constants

QUERY_ACTION

public mixed QUERY_ACTION = 'confirm_email'

STATUS_ALREADY_CONFIRMED

public mixed STATUS_ALREADY_CONFIRMED = 'already-confirmed'

STATUS_CONFIRMATION_NOT_POSSIBLE

public mixed STATUS_CONFIRMATION_NOT_POSSIBLE = 'confirmation-not-possible'

STATUS_CONFIRMED

public mixed STATUS_CONFIRMED = 'confirmed'

STATUS_EXPIRED

public mixed STATUS_EXPIRED = 'expired'

STATUS_INVALID_REQUEST

public mixed STATUS_INVALID_REQUEST = 'invalid-request'

Properties

$booking

private Booking $booking

$ttl

private int $ttl = 0

Methods

__construct()

public __construct() : mixed
Return values
mixed

checkConfirmation()

public checkConfirmation() : mixed
Return values
mixed
public generateLink(Booking $booking) : string
Parameters
$booking : Booking
Return values
string

isActualTTL()

private isActualTTL() : bool
Return values
bool

issetRequiredParameters()

private issetRequiredParameters() : bool
Return values
bool

parseRequest()

private parseRequest() : bool
Return values
bool

redirectWithStatus()

private redirectWithStatus(mixed $status) : mixed
Parameters
$status : mixed
Return values
mixed

Search results