BookingCancellationLink
extends AbstractDirectLinkEntityShortcode
in package
Table of Contents
- $attributes : array<string|int, mixed>
- $name : string
- __construct() : mixed
- getAttributes() : array<string|int, mixed>
- getDefaultArgs() : array<string|int, mixed>
- getLabel() : mixed
- getName() : string
- getRawShortcode() : mixed
- register() : mixed
- render() : string
- validateArgs() : array<string|int, mixed>
- addActions() : mixed
- getAttributeType() : string
- getContent() : mixed
- getPrefix() : mixed
- name() : mixed
- parseArgs() : array<string|int, mixed>
- renderContent() : string
Properties
$attributes
protected
array<string|int, mixed>
$attributes
= []
Tags
$name
protected
string
$name
Tags
Methods
__construct()
public
__construct() : mixed
Tags
Return values
mixed —getAttributes()
public
getAttributes() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getDefaultArgs()
public
getDefaultArgs() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getLabel()
public
getLabel() : mixed
Return values
mixed —getName()
public
abstract getName() : string
Tags
Return values
string —getRawShortcode()
public
getRawShortcode() : mixed
Return values
mixed —register()
public
register() : mixed
Tags
Return values
mixed —render()
public
render(array<string|int, mixed> $args[, string $content = '' ][, string $shortcodeTag = '' ]) : string
Parameters
- $args : array<string|int, mixed>
- $content : string = ''
-
Optional. '' by default.
- $shortcodeTag : string = ''
-
Optional. '' by default.
Tags
Return values
string —validateArgs()
public
validateArgs(array<string|int, mixed> $args) : array<string|int, mixed>
Parameters
- $args : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —addActions()
protected
addActions() : mixed
Tags
Return values
mixed —getAttributeType()
protected
getAttributeType(string $name[, string $default = 'undefined' ]) : string
Parameters
- $name : string
- $default : string = 'undefined'
-
Optional. 'undefined' by default.
Tags
Return values
string —getContent()
protected
getContent(mixed $entity) : mixed
Parameters
- $entity : mixed
Return values
mixed —getPrefix()
protected
getPrefix() : mixed
Return values
mixed —name()
protected
name() : mixed
Return values
mixed —parseArgs()
protected
parseArgs(array<string|int, mixed> $args, array<string|int, mixed> $defaults, string $content, string $shortcodeTag) : array<string|int, mixed>
Parameters
- $args : array<string|int, mixed>
- $defaults : array<string|int, mixed>
- $content : string
- $shortcodeTag : string
Tags
Return values
array<string|int, mixed> —renderContent()
protected
abstract renderContent(array<string|int, mixed> $args, string $content, string $shortcodeTag) : string
Parameters
- $args : array<string|int, mixed>
- $content : string
- $shortcodeTag : string