Zend_Text_Table enables developers to create tables out of characters
category | Zend |
---|---|
package | Zend_Text_Table |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
__construct(\Zend_Config|array $options = null
)
\Zend_Config
array
Configuration options
\Zend_Text_Table_Exception |
When no columns widths were set |
---|
__toString() : string
string
appendRow(array|\Zend_Text_Table_Row $row) : \Zend_Text_Table
array
\Zend_Text_Table_Row
The row to append to the table
\Zend_Text_Table_Exception |
When $row is neither an array nor Zend_Zext_Table_Row |
---|---|
\Zend_Text_Table_Exception |
When a row contains too many columns |
\Zend_Text_Table
getInputCharset()
getOutputCharset()
getPluginLoader() : \Zend_Loader_PluginLoader
\Zend_Loader_PluginLoader
render() : string
\Zend_Text_Table_Exception |
When no rows were added to the table |
---|
string
setAutoSeparate(integer $autoSeparate) : \Zend_Text_Table
integer
Auto separation mode
\Zend_Text_Table
setColumnWidths(array $columnWidths) : \Zend_Text_Table
array
Widths of all columns
\Zend_Text_Table_Exception |
When no columns were supplied |
---|---|
\Zend_Text_Table_Exception |
When a column has an invalid width |
\Zend_Text_Table
setConfig(\Zend_Config $config) : \Zend_Text_Table
\Zend_Config
Configuration for Zend_Text_Table
\Zend_Text_Table
setDecorator(\Zend_Text_Table_Decorator_Interface|string $decorator) : \Zend_Text_Table
\Zend_Text_Table_Decorator_Interface
string
Decorator to use
\Zend_Text_Table
setDefaultColumnAlign(integer $columnNum, string $align) : \Zend_Text_Table
integer
string
\Zend_Text_Table
setInputCharset(string $charset)
string
setOptions(array $options) : \Zend_Text_Table
array
Configuration for Zend_Text_Table
\Zend_Text_Table
setOutputCharset(string $charset)
string
setPadding(integer $padding) : \Zend_Text_Table
integer
The padding for the columns
\Zend_Text_Table
$_autoSeparate : integer
self::AUTO_SEPARATE_ALL
$_columnWidths : array
null
$_decorator : \Zend_Text_Table_Decorator_Interface
null
$_defaultColumnAligns : array
array()
$_inputCharset : string
'utf-8'
$_outputCharset : string
'utf-8'
$_padding : integer
0
$_pluginLoader : string
null
$_rows : array
array()
$_skipOptions : array
array('options', 'config', 'defaultColumnAlign')
AUTO_SEPARATE_ALL = 4
AUTO_SEPARATE_FOOTER = 2
AUTO_SEPARATE_HEADER = 1
AUTO_SEPARATE_NONE = 0