cvs: pear /HTML_Table package.php

From: Date: Tue, 25 Oct 2005 12:42:59 +0000
Subject: cvs: pear /HTML_Table package.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-35848@lists.php.net to get a copy of this message
wiesemann Tue Oct 25 08:42:59 2005 EDT Modified files: /pear/HTML_Table package.php Log: document latest CVS changes (# assuming that 1.6.1 will be a bufix release for 1.6.0) http://cvs.php.net/diff.php/pear/HTML_Table/package.php?r1=1.12&r2=1.13&ty=u Index: pear/HTML_Table/package.php diff -u pear/HTML_Table/package.php:1.12 pear/HTML_Table/package.php:1.13 --- pear/HTML_Table/package.php:1.12 Fri Oct 21 15:35:05 2005 +++ pear/HTML_Table/package.php Tue Oct 25 08:42:59 2005 @@ -4,45 +4,17 @@ * * Taken from PEAR::Log, thanks Jon ;) * - * $Id: package.php,v 1.12 2005/10/21 19:35:05 dufuz Exp $ + * $Id: package.php,v 1.13 2005/10/25 12:42:59 wiesemann Exp $ */ require_once 'PEAR/PackageFileManager.php'; require_once 'Console/Getopt.php'; -$version = '1.6.0'; +$version = '1.6.1'; $notes = <<<EOT -- 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 +- Bugfix: addCol() must not call Storage::updateAttributes(), but Storage::addCol() +- Bugfix: addCol() had the same problem as in request #4988 (it did not accept array keys as row numbers) +- Bugfix: toHtml() wrongly assumed that there are instances of \$_thead and \$_tfoot when \$useTGroups == true EOT; $description = <<<EOT

« previous php.pear.cvs (#35848) next »