BookingCancellationShortcode
extends AbstractShortcode
in package
Tags
Table of Contents
- $name : mixed
- __construct() : mixed
- addActions() : mixed
- fetchBooking() : mixed
- fetchStatusCancellationNotPossible() : mixed
- generateShortcode() : string
- getName() : mixed
- register() : mixed
- render() : mixed
- renderBookingCancellation() : mixed
- renderBookingDetails() : mixed
- renderBottomInformation() : mixed
- renderCancellationButton() : mixed
- renderStatusCancellationNotPossible() : mixed
- buildOrderQuery() : array<string|int, mixed>
Properties
$name
protected
mixed
$name
= 'mphb_booking_cancellation'
Methods
__construct()
public
__construct() : mixed
Return values
mixed —addActions()
public
addActions() : mixed
Return values
mixed —fetchBooking()
public
fetchBooking() : mixed
Return values
mixed —fetchStatusCancellationNotPossible()
public
fetchStatusCancellationNotPossible() : mixed
Return values
mixed —generateShortcode()
public
generateShortcode([array<string|int, mixed> $attrs = array() ]) : string
Parameters
- $attrs : array<string|int, mixed> = array()
-
Attributes of shortcode
Return values
string —getName()
public
getName() : mixed
Return values
mixed —register()
public
register() : mixed
Return values
mixed —render()
public
render(mixed $atts, mixed $content, mixed $shortcodeName) : mixed
Parameters
- $atts : mixed
- $content : mixed
- $shortcodeName : mixed
Return values
mixed —renderBookingCancellation()
public
renderBookingCancellation(mixed $booking) : mixed
Parameters
- $booking : mixed
Return values
mixed —renderBookingDetails()
public
renderBookingDetails(mixed $booking) : mixed
Parameters
- $booking : mixed
Return values
mixed —renderBottomInformation()
public
renderBottomInformation() : mixed
Return values
mixed —renderCancellationButton()
public
renderCancellationButton(mixed $booking) : mixed
Parameters
- $booking : mixed
Return values
mixed —renderStatusCancellationNotPossible()
public
renderStatusCancellationNotPossible(mixed $status) : mixed
Parameters
- $status : mixed
Return values
mixed —buildOrderQuery()
protected
buildOrderQuery(array<string|int, mixed> $atts, array<string|int, mixed> $defaults) : array<string|int, mixed>
Parameters
- $atts : array<string|int, mixed>
-
Shortcode attributes.
- $defaults : array<string|int, mixed>
-
Default values of "orderby" and "order" attributes.