Wizard
in package

Table of Contents

NONCE_ACTION_SKIP  = 'mphb-skip'
NONCE_ACTION_START  = 'mphb-start'
NONCE_NAME  = 'mphb-wizard-nonce'
__construct()  : mixed
addBookingCanceledPage()  : mixed
addBookingCancellationPage()  : mixed
addBookingConfirmedPage()  : mixed
addCheckoutPage()  : int
addFailedTransactionPage()  : mixed
addMyAccountPage()  : mixed
addReservationReceivedPage()  : mixed
addResultsPage()  : mixed
addRoomsPage()  : mixed
addSearchPage()  : mixed
checkUserAction()  : mixed
createPage()  : mixed
pass()  : mixed
start()  : mixed
wizardNotice()  : mixed
Display the admin notice to users
checkCapabilities()  : mixed
isWizardPassed()  : mixed

Constants

NONCE_ACTION_SKIP

public mixed NONCE_ACTION_SKIP = 'mphb-skip'

NONCE_ACTION_START

public mixed NONCE_ACTION_START = 'mphb-start'

NONCE_NAME

public mixed NONCE_NAME = 'mphb-wizard-nonce'

Methods

__construct()

public __construct() : mixed
Return values
mixed

addBookingCanceledPage()

public addBookingCanceledPage(mixed $parentId) : mixed
Parameters
$parentId : mixed
Return values
mixed

addBookingCancellationPage()

public addBookingCancellationPage() : mixed
Tags
since
3.9.9
Return values
mixed

addBookingConfirmedPage()

public addBookingConfirmedPage(mixed $parentId) : mixed
Parameters
$parentId : mixed
Tags
since
3.7.0

the name was changed from "addBookingConfirmationPage".

Return values
mixed

addCheckoutPage()

public addCheckoutPage() : int
Return values
int

Page ID or 0 (if error occur).

addFailedTransactionPage()

public addFailedTransactionPage(mixed $parentId) : mixed
Parameters
$parentId : mixed
Return values
mixed

addMyAccountPage()

public addMyAccountPage() : mixed
Tags
since
4.2.0
Return values
mixed

addReservationReceivedPage()

public addReservationReceivedPage(mixed $parentId) : mixed
Parameters
$parentId : mixed
Tags
since
3.7.0

the name was changed from "addPaymentSuccessPage".

Return values
mixed

addResultsPage()

public addResultsPage() : mixed
Return values
mixed

addRoomsPage()

public addRoomsPage() : mixed
Return values
mixed

addSearchPage()

public addSearchPage() : mixed
Return values
mixed

checkUserAction()

public checkUserAction() : mixed
Return values
mixed

createPage()

public createPage(mixed $title, mixed $content, mixed $parentId) : mixed
Parameters
$title : mixed
$content : mixed
$parentId : mixed
Return values
mixed

pass()

public pass() : mixed
Return values
mixed

start()

public start() : mixed
Return values
mixed

wizardNotice()

Display the admin notice to users

public wizardNotice() : mixed
Return values
mixed

checkCapabilities()

private checkCapabilities() : mixed
Return values
mixed

isWizardPassed()

private isWizardPassed() : mixed
Return values
mixed

Search results