1895. Class

1895.1. Zend\Text\Table\Row

Row class for ZendTextTable

1895.1.1. Methods

1895.1.1.1. createColumn

createColumn()

Create a new column and append it to the row

Parameters:
  • string
  • array
Return type:

Row

1895.1.1.2. appendColumn

appendColumn()

Append a column to the row

Parameters:ZendTextTableColumn – The column to append to the row
Return type:Row

1895.1.1.3. getColumn

getColumn()

Get a column by it’s index

Returns null, when the index is out of range

Parameters:integer
Return type:Column|null

1895.1.1.4. getColumns

getColumns()

Get all columns of the row

Return type:array

1895.1.1.5. getColumnWidths

getColumnWidths()

Get the widths of all columns, which were rendered last

Return type:integer

1895.1.1.6. render

render()

Render the row

Parameters:
  • array – Width of all columns
  • Decorator – Decorator for the row borders
  • integer – Padding for the columns
Throws ExceptionOverflowException:
 

When there are too many columns

Return type:

string

Project Versions

Table Of Contents

Previous topic

1894. Class

Next topic

1896. Class

This Page