Apple News API PHP Client

TableStyle
in package
implements JsonSerializable

FinalYes

Overall table style configuration.

Tags
see
https://developer.apple.com/documentation/apple_news/tablestyle

Table of Contents

Interfaces

JsonSerializable

Properties

$cells  : TableCellStyle|null
The default cell style.
$columns  : TableColumnStyle|null
The default column style.
$conditional  : array<int, array<string, mixed>>|null
Conditional styles.
$headerCells  : TableCellStyle|null
The header cell style.
$headerColumns  : TableColumnStyle|null
The header column style.
$headerRows  : TableRowStyle|null
The header row style.
$rows  : TableRowStyle|null
The default row style.

Methods

jsonSerialize()  : array<string, mixed>
{@inheritdoc}
setCells()  : $this
Set the default cell style.
setColumns()  : $this
Set the default column style.
setConditional()  : $this
Set conditional styles.
setHeaderCells()  : $this
Set the header cell style.
setHeaderColumns()  : $this
Set the header column style.
setHeaderRows()  : $this
Set the header row style.
setRows()  : $this
Set the default row style.

Properties

$conditional

Conditional styles.

private array<int, array<string, mixed>>|null $conditional = null

Methods

jsonSerialize()

{@inheritdoc}

public jsonSerialize() : array<string, mixed>
Return values
array<string, mixed>

setConditional()

Set conditional styles.

public setConditional(array<int, array<string, mixed>> $conditional) : $this
Parameters
$conditional : array<int, array<string, mixed>>

The conditional styles.

Return values
$this

        
On this page

Search results