int HTML_Table::addCol (
array $contents
= = null
,
mixed $attributes
= = null
,
string $type='TD'
,
int $body=0
)
テーブルに列を追加し、その列の識別子を返します。
array $contents
-
セルの内容として有効な値を含む、数値添字の配列でなければなりません。
mixed $attributes
-
連想配列あるいは文字列で指定する、テーブルの行の属性。
string $type
-
セルの型。'th'
あるいは
'td'
のいずれか。
int $body
-
使用する tbody
グループの番号。
int
- 列の識別子を返します。
This function can not be called statically.