HTML_Table::setCellAttributes

HTML_Table::setCellAttributes -- Set cell attributes

Áttekintés

require_once 'HTML/Table.php';

void HTML_Table::setCellAttributes (int $row, int $col, mixed $attributes [, int $body=0])

Leírás

Sets the cell attributes 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, an error is returned.

Paraméterek

Lehetséges hibaértékek

Táblázat 43-1. Lehetséges PEAR_Error visszatérési értékek

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

Megjegyzés

Ez a függvény nem hívható statikusan.

Lásd

HTML_Table::setAutoGrow()