HTML_Table::addBody() | HTML_Table::addRow() |
HTML_Table | |
PEAR Manual | |
require_once 'HTML/Table.php'; |
int HTML_Table::addCol (
array $contents = NULL
,
mixed $attributes = NULL
,
string $type='TD'
,
int $body=0
)
Adds a table column and returns the column identifier
array $contents - Must be an indexed array of valid cell contents.
mixed $attributes - Associative array or string of table row attributes
string $type - Cell type either 'th' or 'td'
int $body - The number of the tbody group that should be used
int - the identifier for the column
This function can not be called statically.
HTML_Table::addBody() | HTML_Table::addRow() |
HTML_Table | |
PEAR Manual | |