Nextcloud PHP API (master)

EMailDetailsRow
in package

FinalYes

Labelled row of an {@see EMailDetails} card. Each part is rendered on its own line.

Tags
since
36.0.0
Attributes
#[Consumable]
$since: '36.0.0'

Table of Contents

Constants

PART_LINK  : mixed = 'link'
PART_MUTED  : mixed = 'muted'
PART_TEXT  : mixed = 'text'

Properties

$label  : string
$parts  : array<int, array{type: self::PART_*, text: string, url: string}>

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

Properties

$parts

private array<int, array{type: self::PART_*, text: string, url: string}> $parts = []

Methods

__construct()

public __construct(string $label) : mixed
Parameters
$label : string
Tags
since
36.0.0

getLabel()

public getLabel() : string
Tags
since
36.0.0
Return values
string

getParts()

public getParts() : array<int, array{type: self::PART_*, text: string, url: string}>
Tags
since
36.0.0
Return values
array<int, array{type: self::PART_*, text: string, url: string}>
public link(string $text, string $url) : self
Parameters
$text : string
$url : string
since
36.0.0
Return values
self

muted()

Secondary information, rendered in a lighter color

public muted(string $text) : self
Parameters
$text : string
Tags
since
36.0.0
Return values
self

text()

public text(string $text) : self
Parameters
$text : string
Tags
since
36.0.0
Return values
self
On this page

Search results