Documentation

Table extends AbstractElement
in package

Table element HTML writer.

Tags
since
0.10.0

Table of Contents

Properties

$element  : AbstractElement
Element.
$parentWriter  : HTML
Parent writer.
$withoutP  : bool
Without paragraph.

Methods

__construct()  : mixed
Create new instance.
setWithoutP()  : void
Set without paragraph.
write()  : string
Write table.
calculateCellRowSpan()  : int
Calculates cell rowspan.
getTableStyle()  : string
Translates Table style in CSS equivalent.

Properties

Methods

setWithoutP()

Set without paragraph.

public setWithoutP(bool $value) : void
Parameters
$value : bool

write()

Write table.

public write() : string
Return values
string

calculateCellRowSpan()

Calculates cell rowspan.

private calculateCellRowSpan(array<string|int, Row$rows, int $rowIndex, int $colIndex) : int
Parameters
$rows : array<string|int, Row>
$rowIndex : int
$colIndex : int
Return values
int

getTableStyle()

Translates Table style in CSS equivalent.

private getTableStyle([null|Cell|Table|string $tableStyle = null ]) : string
Parameters
$tableStyle : null|Cell|Table|string = null
Return values
string

        
On this page

Search results