HTML_Table::setCellAttributes

HTML_Table::setCellAttributes -- Set cell attributes

概要

require_once "HTML/Table.php";

void HTML_Table::setCellAttributes (int $row, int $col, mixed $attributes)

説明

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.

パラメータ

例外・エラー

表 40-1PEAR_Error の値

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

注意

この関数は、スタティックにコールする ことはできません。

参照

HTML_Table::setAutoGrow()