Text/Table/Column.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- category
- Zend
- copyright
- Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
- license
-
New BSD License
- package
- Zend_Text_Table
- version
- $Id: Column.php 23775 2011-03-01 17:25:24Z ralph $
\Zend_Text_Table_Column
Column class for Zend_Text_Table_Row
- category
- Zend
- copyright
- Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
- license
-
New BSD License
- package
- Zend_Text_Table
Constants
Properties
Methods



__construct(
string $content
=
null, string $align
=
null, integer $colSpan
=
null, string $charset
=
null
)
:
void
Create a column for a Zend_Text_Table_Row object.
Parameters
Name |
Type |
Description |
$content |
string |
The content of the column |
$align |
string |
The align of the content |
$colSpan |
integer |
The colspan of the column |
$charset |
string |
The encoding of the content |



render(
integer $columnWidth, integer $padding
=
0
)
:
string
Render the column width the given column width
Parameters
Name |
Type |
Description |
$columnWidth |
integer |
The width of the column |
$padding |
integer |
The padding for the column |
Returns
Throws