cvs: pear /Structures_DataGrid/DataGrid/Renderer XUL.php
| From: | Olivier Guilyardi | Date: | Fri, 17 Mar 2006 22:32:04 +0000 |
| Subject: | cvs: pear /Structures_DataGrid/DataGrid/Renderer XUL.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-39172@lists.php.net to get a copy of this message | ||
olivierg Fri Mar 17 22:32:04 2006 UTC
Modified files:
/pear/Structures_DataGrid/DataGrid/Renderer XUL.php
Log:
Minor doc updates. There is still some work here, but nothing very important. The XUL renderer
works.
http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid/Renderer/XUL.php?r1=1.20&r2=1.21&diff_format=u
Index: pear/Structures_DataGrid/DataGrid/Renderer/XUL.php
diff -u pear/Structures_DataGrid/DataGrid/Renderer/XUL.php:1.20
pear/Structures_DataGrid/DataGrid/Renderer/XUL.php:1.21
--- pear/Structures_DataGrid/DataGrid/Renderer/XUL.php:1.20 Thu Mar 16 12:37:20 2006
+++ pear/Structures_DataGrid/DataGrid/Renderer/XUL.php Fri Mar 17 22:32:04 2006
@@ -18,7 +18,7 @@
// | Mark Wiesemann <wiesemann@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: XUL.php,v 1.20 2006/03/16 12:37:20 olivierg Exp $
+// $Id: XUL.php,v 1.21 2006/03/17 22:32:04 olivierg Exp $
require_once 'Structures/DataGrid/Renderer.php';
//require_once 'XML/XUL.php';
@@ -61,7 +61,7 @@
* - selfPath: (string) The complete path for sorting and paging links
* (default: $_SERVER['PHP_SELF'])
*
- * @version $Revision: 1.20 $
+ * @version $Revision: 1.21 $
* @author Andrew S. Nagy <asnagy@webitecture.org>
* @author Olivier Guilyardi <olivier@samalyse.com>
* @author Mark Wiesemann <wiesemann@php.net>
@@ -97,12 +97,7 @@
}
/**
- * Generate the XML declaration and initialize the XUL datagrid, if needed
- *
- * A user may provide a custom container by means of the setContainer()
- * method (or equivalent). If so, this custom container should already
- * contains XML, XUL window and listbox declarations similar/equivalent
- * to the ones generated by this method.
+ * Initialize the XUL listbox
*
* @access protected
*/
@@ -180,6 +175,8 @@
$value = $this->_records[$row][$col];
// FIXME: 'ä' is displayed as '?' ==> encoding is required!
+ // How to use the "encoding" option here ?
+ // Is it our responsibility ?
$this->_xul .= ' ' .
XML_Util::createTag('listcell',
array('label' => $value)) .
"\n";