int HTML_Table::addRow (
array $contents
= null
,
mixed $attributes
= null
,
string $type='TD'
,
boolean $inTR
= false
,
int $body=0
)
Adds a table row and returns the row identifier
array $contents - Must be an indexed array of valid cell contents
mixed $attributes - Associative array or string of table row attributes. This can also be an array of attributes, in which case the attributes will be repeated in a loop.
string $type - Cell type either 'th' or 'td'
boolean $inTR - FALSE, if attributes are to be applied in TD tags; TRUE, if attributes are to be applied in TR tag
int $body - The number of the tbody group that should be used
int - the row identifier
This function can not be called statically.