HTML_Table::addCol() (Previous) (Next) HTML_Table::altRowAttributes()

View this page in Last updated: Sun, 24 Aug 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

HTML_Table::addRow()

HTML_Table::addRow() -- Add row

Description

Adds a table row and returns the row identifier

Parameter

  • 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

Return value

int - the row identifier

Note

This function can not be called statically.

HTML_Table::addCol() (Previous) (Next) HTML_Table::altRowAttributes()

Download Documentation Last updated: Sun, 24 Aug 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.