HTML_Table::setCellAttributes() (Previous) (Next) HTML_Table::setColAttributes()

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

HTML_Table::setCellContents()

HTML_Table::setCellContents() -- Set cell content

Description

Sets the cell contents for an existing cell. If the given indices do not exist and autoGrow is TRUE then the given row and/or column is automatically added. If autoGrow is FALSE, then an error is returned.

Parameter

  • int $row - Row index

  • int $col - Column index

  • mixed $contents - May contain HTML or any object with a toHTML() method

  • string $type - Cell type either 'th' or 'td'

  • int $body - The number of the tbody group that should be used

Note

This function can not be called statically.

HTML_Table::setCellAttributes() (Previous) (Next) HTML_Table::setColAttributes()

Download Documentation Last updated: Sun, 31 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.