HTML_Table::addRow() HTML_Table::apiVersion()

HTML_Table

PEAR Manual


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 , int $body=NULL )

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.

  • int $body - The number of the tbody group that should be used. NULL indicates that all groups should be used.

Note

This function can not be called statically.



HTML_Table::addRow() HTML_Table::apiVersion()

HTML_Table

PEAR Manual