|
|
(Next) HTML_Table::setCellContents() |
||||
| |
|||||
|
|||||
void HTML_Table::setCellAttributes (
int $row
,
int $col
,
mixed $attributes
,
int $body=0
)
既存のセルに対してセルの属性を設定します。指定したインデックスが存在せず、 かつ autoGrow が TRUE の場合は、 指定した行や列が自動的に追加されます。 autoGrow が FALSE の場合はエラーが返されます。
int $row - 行インデックス。
int $col - 列インデックス。
mixed $attributes - テーブルのセルの属性を表す連想配列あるいは文字列。
int $body - 使用する tbody グループの番号。
| エラーコード | エラーメッセージ | 意味 | 対応 |
|---|---|---|---|
| " Invalid table row reference [$row ] " | 行 $row が存在しません | autoGrow 機能を有効にします | |
| " Invalid table column reference [$column ] " | 列 $column が存在しません | autoGrow 機能を有効にします |
This function can not be called statically.
|
|
(Next) HTML_Table::setCellContents() |
||||||||
| |
|||||||||
|
|||||||||