PEAR Manual
Prev |  | Next

# HTML_Table::altRowAttributes

HTML_Table::altRowAttributes -- Alternate row attributes

## Synopsis

    require_once "HTML/Table.php";

``void HTML_Table::altRowAttributes` (int $start, mixed $attributes1, mixed $attributes2 [, boolean $inTR = `FALSE`])`

## Description

Alternates the row attributes starting at `$start`

## Parameter

- `int $start` - Row index of row in which alternating begins

- `mixed $attributes1` - Associative array or string of table row attributes

- `mixed $attributes2` - Associative array or string of table row attributes

- `boolean $inTR` - `FALSE`, if attributes are to be applied in `td` tags; `TRUE`, if attributes are to be applied in `tr` tag.

## Note

This function can not be called statically.

## See

HTML_Table::setAllAttributes() , HTML_Table::updateAllAttributes() , HTML_Table::setColAttributes() , HTML_Table::updateColAttributes() , HTML_Table::setCellAttributes() , HTML_Table::updateCellAttributes() , HTML_Table::updateRowAttributes() , HTML_Table::setRowAttributes()

Prev | Home | Next
HTML_Table::addRow | Up | HTML_Table::apiVersion