cvs: pear /Structures_DataGrid/DataGrid Renderer.php /Structures_DataGrid/DataGrid/Renderer CSV.php Console.php HTMLTable.php Smarty.php XLS.php
XML.php XUL.php
| From: | Olivier Guilyardi | Date: | Fri, 17 Mar 2006 23:04:40 +0000 |
| Subject: | cvs: pear /Structures_DataGrid/DataGrid Renderer.php /Structures_DataGrid/DataGrid/Renderer CSV.php Console.php HTMLTable.php Smarty.php XLS.php XML.php XUL.php |
||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-39173@lists.php.net to get a copy of this message | ||
olivierg Fri Mar 17 23:04:40 2006 UTC
Modified files:
/pear/Structures_DataGrid/DataGrid Renderer.php
/pear/Structures_DataGrid/DataGrid/Renderer CSV.php Console.php
HTMLTable.php
Smarty.php XLS.php
XML.php XUL.php
Log:
Documentation fixes
http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid/Renderer.php?r1=1.36&r2=1.37&diff_format=u Index: pear/Structures_DataGrid/DataGrid/Renderer.php diff -u pear/Structures_DataGrid/DataGrid/Renderer.php:1.36 pear/Structures_DataGrid/DataGrid/Renderer.php:1.37 --- pear/Structures_DataGrid/DataGrid/Renderer.php:1.36 Fri Mar 17 12:56:08 2006 +++ pear/Structures_DataGrid/DataGrid/Renderer.php Fri Mar 17 23:04:40 2006 @@ -17,7 +17,7 @@ // | Olivier Guilyardi <olivier@samalyse.com> | // +----------------------------------------------------------------------+ // -// $Id: Renderer.php,v 1.36 2006/03/17 12:56:08 olivierg Exp $ +// $Id: Renderer.php,v 1.37 2006/03/17 23:04:40 olivierg Exp $ require_once 'PHP/Compat/Function/http_build_query.php'; @@ -54,6 +54,8 @@ * - defaultCellFormatter() * - buildHeader() * - buildBody() + * - buildRow() + * - buildEmptyRow() * - buildFooter() * - finalize() * - flatten() @@ -81,7 +83,7 @@ * - fillWithEmptyRows * - numberAlign * - * @version $Revision: 1.36 $ + * @version $Revision: 1.37 $ * @author Olivier Guilyardi <olivier@samalyse.com> * @access public * @package Structures_DataGrid http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid/Renderer/CSV.php?r1=1.14&r2=1.15&diff_format=u Index: pear/Structures_DataGrid/DataGrid/Renderer/CSV.php diff -u pear/Structures_DataGrid/DataGrid/Renderer/CSV.php:1.14 pear/Structures_DataGrid/DataGrid/Renderer/CSV.php:1.15 --- pear/Structures_DataGrid/DataGrid/Renderer/CSV.php:1.14 Fri Mar 17 22:23:18 2006 +++ pear/Structures_DataGrid/DataGrid/Renderer/CSV.php Fri Mar 17 23:04:40 2006 @@ -18,12 +18,12 @@ // | Mark Wiesemann <wiesemann@php.net> | // +----------------------------------------------------------------------+ // -// $Id: CSV.php,v 1.14 2006/03/17 22:23:18 olivierg Exp $ +// $Id: CSV.php,v 1.15 2006/03/17 23:04:40 olivierg Exp $ require_once 'Structures/DataGrid/Renderer.php'; /** - * Structures_DataGrid_Renderer_CSV Class + * CSV Rendering Driver * * Recognized options: * @@ -45,7 +45,7 @@ * * It buffers output, you can use getOutput(). * - * @version $Revision: 1.14 $ + * @version $Revision: 1.15 $ * @author Andrew S. Nagy <asnagy@webitecture.org> * @author Olivier Guilyardi <olivier@samalyse.com> * @author Mark Wiesemann <wiesemann@php.net> http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid/Renderer/Console.php?r1=1.9&r2=1.10&diff_format=u Index: pear/Structures_DataGrid/DataGrid/Renderer/Console.php diff -u pear/Structures_DataGrid/DataGrid/Renderer/Console.php:1.9 pear/Structures_DataGrid/DataGrid/Renderer/Console.php:1.10 --- pear/Structures_DataGrid/DataGrid/Renderer/Console.php:1.9 Fri Mar 17 21:40:37 2006 +++ pear/Structures_DataGrid/DataGrid/Renderer/Console.php Fri Mar 17 23:04:40 2006 @@ -18,20 +18,22 @@ // | Mark Wiesemann <wiesemann@php.net> | // +----------------------------------------------------------------------+ // -// $Id: Console.php,v 1.9 2006/03/17 21:40:37 olivierg Exp $ +// $Id: Console.php,v 1.10 2006/03/17 23:04:40 olivierg Exp $ require_once 'Structures/DataGrid/Renderer.php'; require_once 'Console/Table.php'; /** - * Structures_DataGrid_Renderer_Console Class + * Console Table Rendering Driver * - * This container has container support. You can use the + * This renderer generates nicely formatted and padded ascii tables. + * + * This driver has container support. You can use the * Structures_DataGrid::fill() method with it. * * It buffers output, you can use Structures_DataGrid::getOutput() * - * @version $Revision: 1.9 $ + * @version $Revision: 1.10 $ * @author Andrew S. Nagy <asnagy@webitecture.org> * @author Olivier Guilyardi <olivier@samalyse.com> * @author Mark Wiesemann <wiesemann@php.net> @@ -89,7 +91,7 @@ } /** - * Initialize Console_Table instance if it is not already existing + * Instantiate the Console_Table container if it hasn't been provided * * @access protected */ http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php?r1=1.96&r2=1.97&diff_format=u Index: pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php diff -u pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php:1.96 pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php:1.97 --- pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php:1.96 Thu Mar 16 20:16:03 2006 +++ pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php Fri Mar 17 23:04:40 2006 @@ -18,13 +18,13 @@ // | Mark Wiesemann <wiesemann@php.net> | // +----------------------------------------------------------------------+ // -// $Id: HTMLTable.php,v 1.96 2006/03/16 20:16:03 olivierg Exp $ +// $Id: HTMLTable.php,v 1.97 2006/03/17 23:04:40 olivierg Exp $ require_once 'Structures/DataGrid/Renderer.php'; require_once 'HTML/Table.php'; /** - * Structures_DataGrid_Renderer_HTMLTable Class + * HTML Table Rendering Driver * * Driver for rendering the DataGrid as an HTMLTable * @@ -51,7 +51,7 @@ * - sortingResetsPaging: whether sorting HTTP queries reset paging * (default : true) * - * @version $Revision: 1.96 $ + * @version $Revision: 1.97 $ * @author Andrew S. Nagy <asnagy@webitecture.org> * @author Olivier Guilyardi <olivier@samalyse.com> * @author Mark Wiesemann <wiesemann@php.net> @@ -144,7 +144,7 @@ } /** - * Initialize HTML_Table instance if it is not already existing + * Instantiate the HTML_Table container if needed, and set it up * * @access protected */ http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid/Renderer/Smarty.php?r1=1.18&r2=1.19&diff_format=u Index: pear/Structures_DataGrid/DataGrid/Renderer/Smarty.php diff -u pear/Structures_DataGrid/DataGrid/Renderer/Smarty.php:1.18 pear/Structures_DataGrid/DataGrid/Renderer/Smarty.php:1.19 --- pear/Structures_DataGrid/DataGrid/Renderer/Smarty.php:1.18 Fri Mar 17 12:56:08 2006 +++ pear/Structures_DataGrid/DataGrid/Renderer/Smarty.php Fri Mar 17 23:04:40 2006 @@ -18,12 +18,12 @@ // | Mark Wiesemann <wiesemann@php.net> | // +----------------------------------------------------------------------+ // -// $Id: Smarty.php,v 1.18 2006/03/17 12:56:08 olivierg Exp $ +// $Id: Smarty.php,v 1.19 2006/03/17 23:04:40 olivierg Exp $ require_once 'Structures/DataGrid/Renderer.php'; /** - * Smarty renderer + * Smarty Rendering Driver * * Recognized options : * @@ -93,7 +93,7 @@ * </table> * </code> * - * @version $Revision: 1.18 $ + * @version $Revision: 1.19 $ * @author Andrew S. Nagy <asnagy@webitecture.org> * @author Olivier Guilyardi <olivier@samalyse.com> * @access public @@ -139,6 +139,7 @@ /** * Return the currently used Smarty object + * * @return object Smarty or PEAR_Error object */ function &getContainer() @@ -151,7 +152,7 @@ } /** - * Initialize the Smarty instance if it is not already existing + * Initialize the Smarty container * * @access protected */ http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid/Renderer/XLS.php?r1=1.29&r2=1.30&diff_format=u Index: pear/Structures_DataGrid/DataGrid/Renderer/XLS.php diff -u pear/Structures_DataGrid/DataGrid/Renderer/XLS.php:1.29 pear/Structures_DataGrid/DataGrid/Renderer/XLS.php:1.30 --- pear/Structures_DataGrid/DataGrid/Renderer/XLS.php:1.29 Fri Mar 17 21:37:01 2006 +++ pear/Structures_DataGrid/DataGrid/Renderer/XLS.php Fri Mar 17 23:04:40 2006 @@ -18,13 +18,13 @@ // | Mark Wiesemann <wiesemann@php.net> | // +----------------------------------------------------------------------+ // -// $Id: XLS.php,v 1.29 2006/03/17 21:37:01 olivierg Exp $ +// $Id: XLS.php,v 1.30 2006/03/17 23:04:40 olivierg Exp $ require_once 'Structures/DataGrid/Renderer.php'; require_once 'Spreadsheet/Excel/Writer.php'; /** - * Structures_DataGrid_Renderer_XLS Class + * Excel Spreadsheet Rendering Driver * * RECOGNIZED OPTIONS: * @@ -91,7 +91,7 @@ * $datagrid->fill($workbook, $options); * </code> * - * @version $Revision: 1.29 $ + * @version $Revision: 1.30 $ * @author Andrew S. Nagy <asnagy@webitecture.org> * @author Olivier Guilyardi <olivier@samalyse.com> * @author Mark Wiesemann <wiesemann@php.net> @@ -171,7 +171,7 @@ } /** - * Initialize a string for the CSV if it is not already existing + * Instantiate the container if needed, and set it up * * @access protected */ http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid/Renderer/XML.php?r1=1.22&r2=1.23&diff_format=u Index: pear/Structures_DataGrid/DataGrid/Renderer/XML.php diff -u pear/Structures_DataGrid/DataGrid/Renderer/XML.php:1.22 pear/Structures_DataGrid/DataGrid/Renderer/XML.php:1.23 --- pear/Structures_DataGrid/DataGrid/Renderer/XML.php:1.22 Thu Mar 16 12:37:20 2006 +++ pear/Structures_DataGrid/DataGrid/Renderer/XML.php Fri Mar 17 23:04:40 2006 @@ -18,15 +18,15 @@ // | Mark Wiesemann <wiesemann@php.net> | // +----------------------------------------------------------------------+ // -// $Id: XML.php,v 1.22 2006/03/16 12:37:20 olivierg Exp $ +// $Id: XML.php,v 1.23 2006/03/17 23:04:40 olivierg Exp $ require_once 'Structures/DataGrid/Renderer.php'; require_once 'XML/Util.php'; /** - * Structures_DataGrid_Renderer_XML Class + * XML Rendering Driver * - * @version $Revision: 1.22 $ + * @version $Revision: 1.23 $ * @author Andrew S. Nagy <asnagy@webitecture.org> * @author Olivier Guilyardi <olivier@samalyse.com> * @author Mark Wiesemann <wiesemann@php.net> http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid/Renderer/XUL.php?r1=1.21&r2=1.22&diff_format=u Index: pear/Structures_DataGrid/DataGrid/Renderer/XUL.php diff -u pear/Structures_DataGrid/DataGrid/Renderer/XUL.php:1.21 pear/Structures_DataGrid/DataGrid/Renderer/XUL.php:1.22 --- pear/Structures_DataGrid/DataGrid/Renderer/XUL.php:1.21 Fri Mar 17 22:32:04 2006 +++ pear/Structures_DataGrid/DataGrid/Renderer/XUL.php Fri Mar 17 23:04:40 2006 @@ -18,16 +18,16 @@ // | Mark Wiesemann <wiesemann@php.net> | // +----------------------------------------------------------------------+ // -// $Id: XUL.php,v 1.21 2006/03/17 22:32:04 olivierg Exp $ +// $Id: XUL.php,v 1.22 2006/03/17 23:04:40 olivierg Exp $ require_once 'Structures/DataGrid/Renderer.php'; //require_once 'XML/XUL.php'; require_once 'XML/Util.php'; /** - * Structures_DataGrid_Renderer_XUL Class + * XUL Rendering Driver * - * This renderer class will render an XUL listbox. + * This renderer class will render a XUL listbox. * For additional information on the XUL Listbox, refer to this url: * http://www.xulplanet.com/references/elemref/ref_listbox.html * @@ -45,13 +45,17 @@ * <code> * <?php * header('Content-type: application/vnd.mozilla.xul+xml'); + * * echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n"; * echo "<?xml-stylesheet href=\"myStyle.css\" type=\"text/css\"?>\n"; + * * echo "<window title=\"MyDataGrid\" * xmlns=\"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul\">\n"; + * * // Instantiate your datagrid and setup its datasource, then call : * $datagrid->setRenderer(DATAGRID_RENDER_XUL); * $datagrid->render(); + * * echo "</window>\n"; * ?> * </code> @@ -61,7 +65,7 @@ * - selfPath: (string) The complete path for sorting and paging links * (default: $_SERVER['PHP_SELF']) * - * @version $Revision: 1.21 $ + * @version $Revision: 1.22 $ * @author Andrew S. Nagy <asnagy@webitecture.org> * @author Olivier Guilyardi <olivier@samalyse.com> * @author Mark Wiesemann <wiesemann@php.net>
http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid/Renderer.php?r1=1.36&r2=1.37&diff_format=u Index: pear/Structures_DataGrid/DataGrid/Renderer.php diff -u pear/Structures_DataGrid/DataGrid/Renderer.php:1.36 pear/Structures_DataGrid/DataGrid/Renderer.php:1.37 --- pear/Structures_DataGrid/DataGrid/Renderer.php:1.36 Fri Mar 17 12:56:08 2006 +++ pear/Structures_DataGrid/DataGrid/Renderer.php Fri Mar 17 23:04:40 2006 @@ -17,7 +17,7 @@ // | Olivier Guilyardi <olivier@samalyse.com> | // +----------------------------------------------------------------------+ // -// $Id: Renderer.php,v 1.36 2006/03/17 12:56:08 olivierg Exp $ +// $Id: Renderer.php,v 1.37 2006/03/17 23:04:40 olivierg Exp $ require_once 'PHP/Compat/Function/http_build_query.php'; @@ -54,6 +54,8 @@ * - defaultCellFormatter() * - buildHeader() * - buildBody() + * - buildRow() + * - buildEmptyRow() * - buildFooter() * - finalize() * - flatten() @@ -81,7 +83,7 @@ * - fillWithEmptyRows * - numberAlign * - * @version $Revision: 1.36 $ + * @version $Revision: 1.37 $ * @author Olivier Guilyardi <olivier@samalyse.com> * @access public * @package Structures_DataGrid http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid/Renderer/CSV.php?r1=1.14&r2=1.15&diff_format=u Index: pear/Structures_DataGrid/DataGrid/Renderer/CSV.php diff -u pear/Structures_DataGrid/DataGrid/Renderer/CSV.php:1.14 pear/Structures_DataGrid/DataGrid/Renderer/CSV.php:1.15 --- pear/Structures_DataGrid/DataGrid/Renderer/CSV.php:1.14 Fri Mar 17 22:23:18 2006 +++ pear/Structures_DataGrid/DataGrid/Renderer/CSV.php Fri Mar 17 23:04:40 2006 @@ -18,12 +18,12 @@ // | Mark Wiesemann <wiesemann@php.net> | // +----------------------------------------------------------------------+ // -// $Id: CSV.php,v 1.14 2006/03/17 22:23:18 olivierg Exp $ +// $Id: CSV.php,v 1.15 2006/03/17 23:04:40 olivierg Exp $ require_once 'Structures/DataGrid/Renderer.php'; /** - * Structures_DataGrid_Renderer_CSV Class + * CSV Rendering Driver * * Recognized options: * @@ -45,7 +45,7 @@ * * It buffers output, you can use getOutput(). * - * @version $Revision: 1.14 $ + * @version $Revision: 1.15 $ * @author Andrew S. Nagy <asnagy@webitecture.org> * @author Olivier Guilyardi <olivier@samalyse.com> * @author Mark Wiesemann <wiesemann@php.net> http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid/Renderer/Console.php?r1=1.9&r2=1.10&diff_format=u Index: pear/Structures_DataGrid/DataGrid/Renderer/Console.php diff -u pear/Structures_DataGrid/DataGrid/Renderer/Console.php:1.9 pear/Structures_DataGrid/DataGrid/Renderer/Console.php:1.10 --- pear/Structures_DataGrid/DataGrid/Renderer/Console.php:1.9 Fri Mar 17 21:40:37 2006 +++ pear/Structures_DataGrid/DataGrid/Renderer/Console.php Fri Mar 17 23:04:40 2006 @@ -18,20 +18,22 @@ // | Mark Wiesemann <wiesemann@php.net> | // +----------------------------------------------------------------------+ // -// $Id: Console.php,v 1.9 2006/03/17 21:40:37 olivierg Exp $ +// $Id: Console.php,v 1.10 2006/03/17 23:04:40 olivierg Exp $ require_once 'Structures/DataGrid/Renderer.php'; require_once 'Console/Table.php'; /** - * Structures_DataGrid_Renderer_Console Class + * Console Table Rendering Driver * - * This container has container support. You can use the + * This renderer generates nicely formatted and padded ascii tables. + * + * This driver has container support. You can use the * Structures_DataGrid::fill() method with it. * * It buffers output, you can use Structures_DataGrid::getOutput() * - * @version $Revision: 1.9 $ + * @version $Revision: 1.10 $ * @author Andrew S. Nagy <asnagy@webitecture.org> * @author Olivier Guilyardi <olivier@samalyse.com> * @author Mark Wiesemann <wiesemann@php.net> @@ -89,7 +91,7 @@ } /** - * Initialize Console_Table instance if it is not already existing + * Instantiate the Console_Table container if it hasn't been provided * * @access protected */ http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php?r1=1.96&r2=1.97&diff_format=u Index: pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php diff -u pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php:1.96 pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php:1.97 --- pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php:1.96 Thu Mar 16 20:16:03 2006 +++ pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php Fri Mar 17 23:04:40 2006 @@ -18,13 +18,13 @@ // | Mark Wiesemann <wiesemann@php.net> | // +----------------------------------------------------------------------+ // -// $Id: HTMLTable.php,v 1.96 2006/03/16 20:16:03 olivierg Exp $ +// $Id: HTMLTable.php,v 1.97 2006/03/17 23:04:40 olivierg Exp $ require_once 'Structures/DataGrid/Renderer.php'; require_once 'HTML/Table.php'; /** - * Structures_DataGrid_Renderer_HTMLTable Class + * HTML Table Rendering Driver * * Driver for rendering the DataGrid as an HTMLTable * @@ -51,7 +51,7 @@ * - sortingResetsPaging: whether sorting HTTP queries reset paging * (default : true) * - * @version $Revision: 1.96 $ + * @version $Revision: 1.97 $ * @author Andrew S. Nagy <asnagy@webitecture.org> * @author Olivier Guilyardi <olivier@samalyse.com> * @author Mark Wiesemann <wiesemann@php.net> @@ -144,7 +144,7 @@ } /** - * Initialize HTML_Table instance if it is not already existing + * Instantiate the HTML_Table container if needed, and set it up * * @access protected */ http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid/Renderer/Smarty.php?r1=1.18&r2=1.19&diff_format=u Index: pear/Structures_DataGrid/DataGrid/Renderer/Smarty.php diff -u pear/Structures_DataGrid/DataGrid/Renderer/Smarty.php:1.18 pear/Structures_DataGrid/DataGrid/Renderer/Smarty.php:1.19 --- pear/Structures_DataGrid/DataGrid/Renderer/Smarty.php:1.18 Fri Mar 17 12:56:08 2006 +++ pear/Structures_DataGrid/DataGrid/Renderer/Smarty.php Fri Mar 17 23:04:40 2006 @@ -18,12 +18,12 @@ // | Mark Wiesemann <wiesemann@php.net> | // +----------------------------------------------------------------------+ // -// $Id: Smarty.php,v 1.18 2006/03/17 12:56:08 olivierg Exp $ +// $Id: Smarty.php,v 1.19 2006/03/17 23:04:40 olivierg Exp $ require_once 'Structures/DataGrid/Renderer.php'; /** - * Smarty renderer + * Smarty Rendering Driver * * Recognized options : * @@ -93,7 +93,7 @@ * </table> * </code> * - * @version $Revision: 1.18 $ + * @version $Revision: 1.19 $ * @author Andrew S. Nagy <asnagy@webitecture.org> * @author Olivier Guilyardi <olivier@samalyse.com> * @access public @@ -139,6 +139,7 @@ /** * Return the currently used Smarty object + * * @return object Smarty or PEAR_Error object */ function &getContainer() @@ -151,7 +152,7 @@ } /** - * Initialize the Smarty instance if it is not already existing + * Initialize the Smarty container * * @access protected */ http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid/Renderer/XLS.php?r1=1.29&r2=1.30&diff_format=u Index: pear/Structures_DataGrid/DataGrid/Renderer/XLS.php diff -u pear/Structures_DataGrid/DataGrid/Renderer/XLS.php:1.29 pear/Structures_DataGrid/DataGrid/Renderer/XLS.php:1.30 --- pear/Structures_DataGrid/DataGrid/Renderer/XLS.php:1.29 Fri Mar 17 21:37:01 2006 +++ pear/Structures_DataGrid/DataGrid/Renderer/XLS.php Fri Mar 17 23:04:40 2006 @@ -18,13 +18,13 @@ // | Mark Wiesemann <wiesemann@php.net> | // +----------------------------------------------------------------------+ // -// $Id: XLS.php,v 1.29 2006/03/17 21:37:01 olivierg Exp $ +// $Id: XLS.php,v 1.30 2006/03/17 23:04:40 olivierg Exp $ require_once 'Structures/DataGrid/Renderer.php'; require_once 'Spreadsheet/Excel/Writer.php'; /** - * Structures_DataGrid_Renderer_XLS Class + * Excel Spreadsheet Rendering Driver * * RECOGNIZED OPTIONS: * @@ -91,7 +91,7 @@ * $datagrid->fill($workbook, $options); * </code> * - * @version $Revision: 1.29 $ + * @version $Revision: 1.30 $ * @author Andrew S. Nagy <asnagy@webitecture.org> * @author Olivier Guilyardi <olivier@samalyse.com> * @author Mark Wiesemann <wiesemann@php.net> @@ -171,7 +171,7 @@ } /** - * Initialize a string for the CSV if it is not already existing + * Instantiate the container if needed, and set it up * * @access protected */ http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid/Renderer/XML.php?r1=1.22&r2=1.23&diff_format=u Index: pear/Structures_DataGrid/DataGrid/Renderer/XML.php diff -u pear/Structures_DataGrid/DataGrid/Renderer/XML.php:1.22 pear/Structures_DataGrid/DataGrid/Renderer/XML.php:1.23 --- pear/Structures_DataGrid/DataGrid/Renderer/XML.php:1.22 Thu Mar 16 12:37:20 2006 +++ pear/Structures_DataGrid/DataGrid/Renderer/XML.php Fri Mar 17 23:04:40 2006 @@ -18,15 +18,15 @@ // | Mark Wiesemann <wiesemann@php.net> | // +----------------------------------------------------------------------+ // -// $Id: XML.php,v 1.22 2006/03/16 12:37:20 olivierg Exp $ +// $Id: XML.php,v 1.23 2006/03/17 23:04:40 olivierg Exp $ require_once 'Structures/DataGrid/Renderer.php'; require_once 'XML/Util.php'; /** - * Structures_DataGrid_Renderer_XML Class + * XML Rendering Driver * - * @version $Revision: 1.22 $ + * @version $Revision: 1.23 $ * @author Andrew S. Nagy <asnagy@webitecture.org> * @author Olivier Guilyardi <olivier@samalyse.com> * @author Mark Wiesemann <wiesemann@php.net> http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid/Renderer/XUL.php?r1=1.21&r2=1.22&diff_format=u Index: pear/Structures_DataGrid/DataGrid/Renderer/XUL.php diff -u pear/Structures_DataGrid/DataGrid/Renderer/XUL.php:1.21 pear/Structures_DataGrid/DataGrid/Renderer/XUL.php:1.22 --- pear/Structures_DataGrid/DataGrid/Renderer/XUL.php:1.21 Fri Mar 17 22:32:04 2006 +++ pear/Structures_DataGrid/DataGrid/Renderer/XUL.php Fri Mar 17 23:04:40 2006 @@ -18,16 +18,16 @@ // | Mark Wiesemann <wiesemann@php.net> | // +----------------------------------------------------------------------+ // -// $Id: XUL.php,v 1.21 2006/03/17 22:32:04 olivierg Exp $ +// $Id: XUL.php,v 1.22 2006/03/17 23:04:40 olivierg Exp $ require_once 'Structures/DataGrid/Renderer.php'; //require_once 'XML/XUL.php'; require_once 'XML/Util.php'; /** - * Structures_DataGrid_Renderer_XUL Class + * XUL Rendering Driver * - * This renderer class will render an XUL listbox. + * This renderer class will render a XUL listbox. * For additional information on the XUL Listbox, refer to this url: * http://www.xulplanet.com/references/elemref/ref_listbox.html * @@ -45,13 +45,17 @@ * <code> * <?php * header('Content-type: application/vnd.mozilla.xul+xml'); + * * echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n"; * echo "<?xml-stylesheet href=\"myStyle.css\" type=\"text/css\"?>\n"; + * * echo "<window title=\"MyDataGrid\" * xmlns=\"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul\">\n"; + * * // Instantiate your datagrid and setup its datasource, then call : * $datagrid->setRenderer(DATAGRID_RENDER_XUL); * $datagrid->render(); + * * echo "</window>\n"; * ?> * </code> @@ -61,7 +65,7 @@ * - selfPath: (string) The complete path for sorting and paging links * (default: $_SERVER['PHP_SELF']) * - * @version $Revision: 1.21 $ + * @version $Revision: 1.22 $ * @author Andrew S. Nagy <asnagy@webitecture.org> * @author Olivier Guilyardi <olivier@samalyse.com> * @author Mark Wiesemann <wiesemann@php.net>