Column class for ZendTextTableRow
Create a column for a ZendTextTableRow object.
| Parameters: |
|
|---|
Set the content.
If $charset is not defined, it is assumed that $content is encoded in the charset defined via ZendTextTable::setInputCharset() (defaults to utf-8).
| Parameters: |
|
|---|---|
| Throws ExceptionInvalidArgumentException: | |
When $content is not a string |
|
| Return type: | Column |
Set the align
| Parameters: | string – Align of the column |
|---|---|
| Throws ExceptionOutOfBoundsException: | |
| When supplied align is invalid | |
| Return type: | Column |
Set the colspan
| Parameters: | int – |
|---|---|
| Throws ExceptionInvalidArgumentException: | |
| When $colSpan is smaller than 1 | |
| Return type: | Column |
Render the column width the given column width
| Parameters: |
|
|---|---|
| Throws ExceptionInvalidArgumentException: | |
When $columnWidth is lower than 1 |
|
| Throws ExceptionOutOfBoundsException: | |
When padding is greater than columnWidth |
|
| Return type: | string |