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.

Add row (Previous) Return API version (DEPRECATED) (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.