TypolinkParameter implements JsonSerializable
Read onlyYes
FinalYes
This class represents an object containing the resolved parameters of a typolink
Table of Contents
Interfaces
- JsonSerializable
Properties
- $additionalParams : string
- $class : string
- $customParams : array<string|int, mixed>
- $target : string
- $title : string
- $url : string
Methods
- __construct() : mixed
- createFromTypolinkParts() : TypolinkParameter
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$additionalParams
public
string
$additionalParams
= ''
$class
public
string
$class
= ''
$customParams
public
array<string|int, mixed>
$customParams
= []
$target
public
string
$target
= ''
$title
public
string
$title
= ''
$url
public
string
$url
= ''
Methods
__construct()
public
__construct([string $url = '' ][, string $target = '' ][, string $class = '' ][, string $title = '' ][, string $additionalParams = '' ][, array<string|int, mixed> $customParams = [] ]) : mixed
Parameters
- $url : string = ''
- $target : string = ''
- $class : string = ''
- $title : string = ''
- $additionalParams : string = ''
- $customParams : array<string|int, mixed> = []
createFromTypolinkParts()
public
static createFromTypolinkParts(array<string|int, mixed> $typoLinkParts) : TypolinkParameter
Parameters
- $typoLinkParts : array<string|int, mixed>
Return values
TypolinkParameterjsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>toArray()
public
toArray() : array<string|int, mixed>