cvs: pear /Structures_DataGrid/DataGrid/Renderer Common.php HTMLTable.php

From: Date: Mon, 27 Feb 2006 16:25:32 +0000
Subject: cvs: pear /Structures_DataGrid/DataGrid/Renderer Common.php HTMLTable.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-38690@lists.php.net to get a copy of this message
wiesemann Mon Feb 27 16:25:32 2006 UTC Modified files: /pear/Structures_DataGrid/DataGrid/Renderer Common.php HTMLTable.php Log: - typo fixes - remove useless code http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid/Renderer/Common.php?r1=1.15&r2=1.16&diff_format=u Index: pear/Structures_DataGrid/DataGrid/Renderer/Common.php diff -u pear/Structures_DataGrid/DataGrid/Renderer/Common.php:1.15 pear/Structures_DataGrid/DataGrid/Renderer/Common.php:1.16 --- pear/Structures_DataGrid/DataGrid/Renderer/Common.php:1.15 Fri Feb 24 13:40:29 2006 +++ pear/Structures_DataGrid/DataGrid/Renderer/Common.php Mon Feb 27 16:25:32 2006 @@ -17,7 +17,7 @@ // | Olivier Guilyardi <olivier@samalyse.com> | // +----------------------------------------------------------------------+ // -// $Id: Common.php,v 1.15 2006/02/24 13:40:29 wiesemann Exp $ +// $Id: Common.php,v 1.16 2006/02/27 16:25:32 wiesemann Exp $ /** * Structures_DataGrid_Renderer_Common Class @@ -26,11 +26,11 @@ * * Recognized options : * - * - buildHeader : wether to build the header or not (default : true) - * - buildFooter : wether to build the footer or not (default : true) + * - buildHeader : whether to build the header or not (default : true) + * - buildFooter : whether to build the footer or not (default : true) * - fillWithEmptyRows : ensures that all pages have the same number of rows * (default : false) - * - sortingResetsPaging : Wether or not to reset paging on sorting request + * - sortingResetsPaging : Whether or not to reset paging on sorting request * (default : true) * - autoAlign : whether to automatically right-align numeric values or not * // FIXME: could be nice to have an autoFormat option for automatically @@ -56,7 +56,7 @@ * added * * - * @version $Revision: 1.15 $ + * @version $Revision: 1.16 $ * @author Olivier Guilyardi <olivier@samalyse.com> * @access public * @package Structures_DataGrid http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php?r1=1.80&r2=1.81&diff_format=u Index: pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php diff -u pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php:1.80 pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php:1.81 --- pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php:1.80 Sat Feb 25 09:55:22 2006 +++ pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php Mon Feb 27 16:25:32 2006 @@ -18,7 +18,7 @@ // | Mark Wiesemann <wiesemann@php.net> | // +----------------------------------------------------------------------+ // -// $Id: HTMLTable.php,v 1.80 2006/02/25 09:55:22 wiesemann Exp $ +// $Id: HTMLTable.php,v 1.81 2006/02/27 16:25:32 wiesemann Exp $ require_once 'Structures/DataGrid/Renderer/Common.php'; require_once 'HTML/Table.php'; @@ -54,7 +54,7 @@ * - encoding : the content encoding. Default: ISO-8859-1 * * - * @version $Revision: 1.80 $ + * @version $Revision: 1.81 $ * @author Andrew S. Nagy <asnagy@webitecture.org> * @author Olivier Guilyardi <olivier@samalyse.com> * @author Mark Wiesemann <wiesemann@php.net> @@ -149,9 +149,6 @@ */ function setTableHeaderAttributes($attribs) { - if (is_null($this->_container)) { - $this->init(); - } $this->_options['headerAttributes'] = $attribs; }

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