HTML_Table::setRowAttributes
HTML_Table::setRowAttributes -- Set row attributes
概要
require_once "HTML/Table.php"; |
void HTML_Table::setRowAttributes (int $row, mixed $attributes [, boolean $inTR = FALSE])
説明
Sets the attributes for an existing row
パラメータ
int $row -
Row index
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.
boolean $inTR -
FALSE, if attributes are to be
applied in td tags;
TRUE, if attributes are to be
applied in tr tag
例外・エラー
表 40-1PEAR_Error の値
| Error code | Error message | Meaning | Solution |
|---|
| |
"
Invalid table row reference [$row]
"
| The row $row does not exists | Enable the autoGrow feature |
| |
"
Invalid table column reference [$column]
"
|
The column $column does not exists
| Enable the autoGrow feature |
注意
この関数は、スタティックにコールする
ことはできません。