bootdesk/chat-sdk

Table
in package
implements CardElement

Table of Contents

Interfaces

CardElement

Properties

$align  : array<string|int, TableAlignment>
$headers  : array<string|int, string>
$rows  : array<int, array<string|int, string>>

Methods

__construct()  : mixed
renderAsText()  : string

Properties

$headers read-only

public array<string|int, string> $headers

$rows read-only

public array<int, array<string|int, string>> $rows

Methods

__construct()

public __construct(array<string|int, mixed> $headers, array<string|int, mixed> $rows[, array<string|int, mixed> $align = [] ]) : mixed
Parameters
$headers : array<string|int, mixed>
$rows : array<string|int, mixed>
$align : array<string|int, mixed> = []

renderAsText()

public static renderAsText(self $table) : string
Parameters
$table : self
Return values
string
On this page

Search results