CreateBookingMenuPage
extends AbstractMenuPage
in package
Table of Contents
- $capability : mixed
- $menuSlug : mixed
- $menuTitle : mixed
- $name : mixed
- $order : mixed
- $pageTitle : mixed
- $parentMenu : mixed
- $screenId : mixed
- $titleActions : array<string|int, mixed>
- Custom actions that output just after the page heading
- $booking : BookingStep
- $checkout : CheckoutStep
- $results : ResultsStep
- $search : SearchStep
- $step : int
- 1 - nothing happened, just show the search form 2 - on search, show search results 3 - step checkout 4 - step booking
- __construct() : mixed
- addActions() : mixed
- addTitleAction() : mixed
- addTitleActionsScript() : mixed
- bookingRulesDisabledNotification() : mixed
- createMenu() : mixed
- enqueueScripts() : mixed
- getName() : mixed
- getUrl() : mixed
- isCurrentPage() : bool
- onLoad() : mixed
- render() : mixed
- getMenuTitle() : mixed
- getPageTitle() : mixed
Properties
$capability
protected
mixed
$capability
$menuSlug
protected
mixed
$menuSlug
$menuTitle
protected
mixed
$menuTitle
$name
protected
mixed
$name
$order
protected
mixed
$order
$pageTitle
protected
mixed
$pageTitle
$parentMenu
protected
mixed
$parentMenu
$screenId
protected
mixed
$screenId
$titleActions
Custom actions that output just after the page heading
protected
array<string|int, mixed>
$titleActions
= array()
$booking
private
BookingStep
$booking
= null
$checkout
private
CheckoutStep
$checkout
= null
$results
private
ResultsStep
$results
= null
$search
private
SearchStep
$search
= null
$step
1 - nothing happened, just show the search form 2 - on search, show search results 3 - step checkout 4 - step booking
private
int
$step
= 1
Methods
__construct()
public
__construct(mixed $name[, mixed $atts = array() ]) : mixed
Parameters
- $name : mixed
- $atts : mixed = array()
Return values
mixed —addActions()
public
addActions() : mixed
Return values
mixed —addTitleAction()
public
addTitleAction(mixed $label, mixed $url[, mixed $options = array() ]) : mixed
Parameters
- $label : mixed
- $url : mixed
- $options : mixed = array()
Return values
mixed —addTitleActionsScript()
public
addTitleActionsScript() : mixed
Return values
mixed —bookingRulesDisabledNotification()
public
bookingRulesDisabledNotification() : mixed
Tags
Return values
mixed —createMenu()
public
createMenu() : mixed
Return values
mixed —enqueueScripts()
public
enqueueScripts() : mixed
Tags
Return values
mixed —getName()
public
getName() : mixed
Return values
mixed —getUrl()
public
getUrl([mixed $additionalArgs = array() ]) : mixed
Parameters
- $additionalArgs : mixed = array()
Return values
mixed —isCurrentPage()
public
isCurrentPage([array<string|int, mixed> $atts = array() ]) : bool
Parameters
- $atts : array<string|int, mixed> = array()
Tags
Return values
bool —onLoad()
public
onLoad() : mixed
Return values
mixed —render()
public
render() : mixed
Return values
mixed —getMenuTitle()
protected
getMenuTitle() : mixed
Return values
mixed —getPageTitle()
protected
getPageTitle() : mixed