Zend Framework
1.12
|
Public Member Functions | |
createColumn ($content, array $options=null) | |
Create a new column and append it to the row. | |
appendColumn (Zend_Text_Table_Column $column) | |
Append a column to the row. | |
getColumn ($index) | |
Get a column by it's index. | |
getColumns () | |
Get all columns of the row. | |
getColumnWidths () | |
Get the widths of all columns, which were rendered last. | |
render (array $columnWidths, Zend_Text_Table_Decorator_Interface $decorator, $padding=0) | |
Render the row. | |
Protected Attributes | |
$_columns = array() | |
$_columnWidths = null | |
appendColumn | ( | Zend_Text_Table_Column | $column | ) |
Append a column to the row.
Zend_Text_Table_Column | $column | The column to append to the row |
createColumn | ( | $content, | |
array | $options = null |
||
) |
Create a new column and append it to the row.
string | $content | |
array | $options |
getColumn | ( | $index | ) |
Get a column by it's index.
Returns null, when the index is out of range
integer | $index |
getColumns | ( | ) |
Get all columns of the row.
getColumnWidths | ( | ) |
Get the widths of all columns, which were rendered last.
Zend_Text_Table_Exception | When no columns were rendered yet |
render | ( | array | $columnWidths, |
Zend_Text_Table_Decorator_Interface | $decorator, | ||
$padding = 0 |
|||
) |
Render the row.
array | $columnWidths | Width of all columns |
Zend_Text_Table_Decorator_Interface | $decorator | Decorator for the row borders |
integer | $padding | Padding for the columns |
Zend_Text_Table_Exception | When there are too many columns |
|
protected |
|
protected |