phpDocumentor

TableRow
in package

Table of Contents

$columns  : array<string|int, TableColumn>
absorbRowContent()  : void
Push the content from the columns of a row onto this row.
addColumn()  : void
getColumn()  : TableColumn|null
getColumns()  : array<string|int, TableColumn>
getFirstColumn()  : TableColumn
removeColumn()  : void
toString()  : string

Properties

Methods

absorbRowContent()

Push the content from the columns of a row onto this row.

public absorbRowContent(TableRow $targetRow) : void

Useful when we discover that a row is actually just a continuation of this row, and so we want to copy the content to this row's columns before removing the row.

Parameters
$targetRow : TableRow
Tags
throws
InvalidTableStructure
Return values
void

addColumn()

public addColumn(string $content, int $colSpan) : void
Parameters
$content : string
$colSpan : int
Return values
void

removeColumn()

public removeColumn(int $columnIndex) : void
Parameters
$columnIndex : int
Return values
void

toString()

public toString() : string
Return values
string

Search results