TypolinkParameter
final readonly class \
- Implements
- JsonSerializable
This class represents an object containing the resolved parameters of a typolink
Table of Contents
Interfaces
- JsonSerializable
Properties
- $additionalParams : string
- $class : string
- $customParams : array
- $target : string
- $title : string
- $url : string
Methods
- __construct() : mixed
- createFromTypolinkParts() : TypolinkParameter
- jsonSerialize() : array
- toArray() : array
Properties
$additionalParams
public
string
$additionalParams
= ''
$class
public
string
$class
= ''
$customParams
public
array
$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 $customParams = [] ]) : mixed
Parameters
- $url : string = ''
- $target : string = ''
- $class : string = ''
- $title : string = ''
- $additionalParams : string = ''
- $customParams : array = []
createFromTypolinkParts()
public
static createFromTypolinkParts(array $typoLinkParts) : TypolinkParameter
Parameters
- $typoLinkParts : array
Return values
TypolinkParameterjsonSerialize()
public
jsonSerialize() : array
Return values
arraytoArray()
public
toArray() : array