HTML_Table::addCol()
Вернуться к: HTML_Table
HTML_Table::addCol()
Synopsis
int HTML_Table::addCol ( array $contents = null , mixed $attributes = null , string $type='TD' , int $body=0 )
Adds a table column and returns the column identifier
Parameter
-
array $contents - Must be an indexed array of valid cell contents.
-
mixed $attributes - Associative array or string of table row attributes
-
string $type - Cell type either 'th' or 'td'
-
int $body - The number of the tbody group that should be used
Return value
int - the identifier for the column
Note
This function can not be called statically.
Вернуться к: HTML_Table