HTML_Table::setCellContents

HTML_Table::setCellContents -- Set cell content

Synopsis

require_once 'HTML/Table.php';

void HTML_Table::setCellContents (int $row, int $col, mixed $contents [, string $type='TD'])

Beschreibung

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

Fehler-Meldungen

Tabelle 42-1. Mögliche Fehler-Arten

Error codeError messageMeaningSolution
  „ Invalid table row reference [$row] “ The row $row does not existsEnable the autoGrow feature
  „ Invalid table column reference [$column] “ The column $column does not existsEnable the autoGrow feature

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.

Siehe auch

HTML_Table::setAutoGrow()