PEAR Manual
Prev |  | Next

# HTML_Table::setColType

HTML_Table::setColType -- Set column type

## Synopsis

    require_once "HTML/Table.php";

``void HTML_Table::setColType` (int $col, string $type)`

## Description

Sets the type of a column to `'th'` or `'td'`

## Parameter

- `int $col` - Column index

- `string $type` - `th` or `td`

## Note

This function can not be called statically.

Prev | Home | Next
HTML_Table::setColCount | Up | HTML_Table::setHeaderContents