EMailDetailsRow
in package
FinalYes
Labelled row of an {@see EMailDetails} card. Each part is rendered on its own line.
Tags
Attributes
- #[Consumable]
- $since: '36.0.0'
Table of Contents
Constants
- PART_LINK : mixed = 'link'
- PART_MUTED : mixed = 'muted'
- PART_TEXT : mixed = 'text'
Properties
Methods
- __construct() : mixed
- getLabel() : string
- getParts() : array<int, array{type: self::PART_*, text: string, url: string}>
- link() : self
- muted() : self
- Secondary information, rendered in a lighter color
- text() : self
Constants
PART_LINK
public
mixed
PART_LINK
= 'link'
Tags
PART_MUTED
public
mixed
PART_MUTED
= 'muted'
Tags
PART_TEXT
public
mixed
PART_TEXT
= 'text'
Tags
Properties
$label
private
string
$label
$parts
private
array<int, array{type: self::PART_*, text: string, url: string}>
$parts
= []
Methods
__construct()
public
__construct(string $label) : mixed
Parameters
- $label : string
Tags
getLabel()
public
getLabel() : string
Tags
Return values
stringgetParts()
public
getParts() : array<int, array{type: self::PART_*, text: string, url: string}>
Tags
Return values
array<int, array{type: self::PART_*, text: string, url: string}>link()
public
link(string $text, string $url) : self
Parameters
- $text : string
- $url : string
Tags
Return values
selfmuted()
Secondary information, rendered in a lighter color
public
muted(string $text) : self
Parameters
- $text : string
Tags
Return values
selftext()
public
text(string $text) : self
Parameters
- $text : string