|
|
(Next) HTML_Table::altRowAttributes() |
||||
| |
|||||
|
|||||
int HTML_Table::addRow (
array $contents
= = null
,
mixed $attributes
= = null
,
string $type='TD'
,
boolean $inTR
= = false
,
int $body=0
)
テーブルに行を追加し、その行の識別子を返します。
array $contents - セルの内容として有効な値を含む、数値添字の配列でなければなりません。
mixed $attributes - 連想配列あるいは文字列で指定する、テーブルの行の属性。 これは属性の配列とすることも可能で、その場合には、 ループ内でそれらの属性が繰り返されます。
string $type - セルの型。'th' あるいは 'td' のいずれか。
boolean $inTR - FALSE を指定すると、属性を TD タグに対して設定します。 TRUE を指定すると、属性を TR タグに対して設定します。
int $body - 使用する tbody グループの番号。
int - 行の識別子を返します。
This function can not be called statically.
|
|
(Next) HTML_Table::altRowAttributes() |
||||||||
| |
|||||||||
|
|||||||||