cvs: pear /Structures_DataGrid package.xml /Structures_DataGrid/DataGrid Column.php
| From: | Mark Wiesemann | Date: | Wed, 14 Dec 2005 20:06:21 +0000 |
| Subject: | cvs: pear /Structures_DataGrid package.xml /Structures_DataGrid/DataGrid Column.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-36869@lists.php.net to get a copy of this message | ||
wiesemann Wed Dec 14 20:06:21 2005 EDT
Modified files:
/pear/Structures_DataGrid package.xml
/pear/Structures_DataGrid/DataGrid Column.php
Log:
Request #5758: New parameters for Structures_DataGrid_Column::formatter()
callback: 'fieldName', 'columnName', 'orderBy', 'attribs'
http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/package.xml?r1=1.30&r2=1.31&diff_format=u
Index: pear/Structures_DataGrid/package.xml
diff -u pear/Structures_DataGrid/package.xml:1.30 pear/Structures_DataGrid/package.xml:1.31
--- pear/Structures_DataGrid/package.xml:1.30 Tue Dec 13 12:32:45 2005
+++ pear/Structures_DataGrid/package.xml Wed Dec 14 20:06:20 2005
@@ -50,7 +50,11 @@
Bug #5723 :
Fixed the return value of Renderer_Smarty::getSmarty()
Thanks <adrian dot rotea at gmail dot com>
-
+
+ Req #5758 :
+ New parameters for Structures_DataGrid_Column::formatter() callback:
+ 'fieldName', 'columnName', 'orderBy', 'attribs'
+
Req #5806 and #5808 :
Added support for custom Excel Writer and Format objects
Thanks Vincent Vermersch for these requests
http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid/Column.php?r1=1.16&r2=1.17&diff_format=u
Index: pear/Structures_DataGrid/DataGrid/Column.php
diff -u pear/Structures_DataGrid/DataGrid/Column.php:1.16
pear/Structures_DataGrid/DataGrid/Column.php:1.17
--- pear/Structures_DataGrid/DataGrid/Column.php:1.16 Tue Oct 11 00:27:18 2005
+++ pear/Structures_DataGrid/DataGrid/Column.php Wed Dec 14 20:06:21 2005
@@ -16,14 +16,14 @@
// | Author: Andrew Nagy <asnagy@webitecture.org> |
// +----------------------------------------------------------------------+
//
-// $Id: Column.php,v 1.16 2005/10/11 00:27:18 olivierg Exp $
+// $Id: Column.php,v 1.17 2005/12/14 20:06:21 wiesemann Exp $
/**
* Structures_DataGrid_Column Class
*
* This class represents a single column for the DataGrid.
*
- * @version $Revision: 1.16 $
+ * @version $Revision: 1.17 $
* @author Andrew S. Nagy <asnagy@webitecture.org>
* @access public
* @package Structures_DataGrid
@@ -159,6 +159,10 @@
// Define the Parameter list
$paramList = array();
$paramList['record'] = $record;
+ $paramList['fieldName'] = $this->fieldName;
+ $paramList['columnName'] = $this->columnName;
+ $paramList['orderBy'] = $this->orderBy;
+ $paramList['attribs'] = $this->attribs;
// Determine callback and additional parameters
if ($size = strpos($this->formatter, '(')) {