\phpDocumentor\Guides\Nodes\TableTableRow

Summary

Methods
Properties
Constants
addColumn()
getColumns()
getColumn()
getFirstColumn()
absorbRowContent()
toString()
removeColumn()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$columns
N/A

Properties

$columns

$columns : \phpDocumentor\Guides\Nodes\Table\TableColumn[]

Type

TableColumn[]

Methods

addColumn()

addColumn(string  $content, int  $colSpan) : void

Parameters

string $content
int $colSpan

getColumns()

getColumns() : \phpDocumentor\Guides\Nodes\Table\TableColumn[]

Returns

\phpDocumentor\Guides\Nodes\Table\TableColumn[] —

getColumn()

getColumn(int  $index) : ?\phpDocumentor\Guides\Nodes\Table\TableColumn

Parameters

int $index

Returns

?\phpDocumentor\Guides\Nodes\Table\TableColumn —

getFirstColumn()

getFirstColumn() : \phpDocumentor\Guides\Nodes\Table\TableColumn

Returns

\phpDocumentor\Guides\Nodes\Table\TableColumn —

absorbRowContent()

absorbRowContent(\phpDocumentor\Guides\Nodes\Table\TableRow  $targetRow) : void

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

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

\phpDocumentor\Guides\Nodes\Table\TableRow $targetRow

Throws

\phpDocumentor\Guides\RestructuredText\Exception\InvalidTableStructure

toString()

toString() : string

Returns

string —

removeColumn()

removeColumn(int  $columnIndex) : void

Parameters

int $columnIndex