Top Level :: HTML

Package Information: HTML_Table 1.6.0

Show All Changelogs
» Version » Information
1.8.2 2007-12-17     stable
1.8.1 2007-06-25     stable
1.8.0 2007-05-15     stable
1.8.0RC1 2007-04-29     beta
1.7.5 2006-11-09     stable
1.7.4 2006-10-20     stable
1.7.3 2006-09-25     stable
1.7.2 2006-07-09     stable
1.7.1 2006-06-23     stable
1.7.0 2006-04-26     stable
1.6.1 2005-10-26     stable
1.6.0Download

Release date: 2005-10-21 19:37 UTC
Release state: stable

Changelog:

- Mark Wieseman is now a active developer
- td/th aren't longer case sensitive in addRow() and relative functions
- Added the possibility to specify on which row the cols should be counted. (Bertrand)
- #786, if the value was a zero, the cell content was converted to the autofill value. (Bertrand)
- #1734, _adjustEnd added a extra empty column if there was only one column being processed
- setHeaderContents can now accept attributes, but it's optional. request #2030
- Request #4944: setCellContents() now accepts an array as $contents ($col will be used as the start column then).
- Request #4988: addRow() accepts now array keys as column numbers.
- Added support for thead, tfoot and tbody on the courtesy of Mark Wiesemann <wiesemann@php.net>

Usage:

- current behaviour is still available:
$table = new HTML_Table();
$table->setCellContents(...);
echo $table->toHtml();

- new alternative with same result:
$table = new HTML_Table();
$body =& $table->getBody();
$body->setCellContents(...);
echo $table->toHtml();

- using the new grouping:
$table = new HTML_Table(null, null, true);
$head =& $table->getHeader();
$foot =& $table->getFooter();
$body =& $table->getBody();
$head->setCellContents(...);
$body->setCellContents(...);
echo $table->toHtml(); // <tfoot> will not be rendered

Dependencies:
  • PEAR Package: HTML_Common 1.2.0 or newer
  • PEAR Package: PEAR Installer
1.5 2003-05-20     stable
1.4 2003-04-11     stable
1.3 2002-11-20     stable
1.2 2002-10-21     stable
1.1 2002-07-21     stable
1.0 2002-05-28     stable