cvs: pear /Structures_DataGrid/DataGrid Column.php
| From: | Andrew Nagy | Date: | Fri, 22 Oct 2004 16:04:19 +0000 |
| Subject: | cvs: pear /Structures_DataGrid/DataGrid Column.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-25069@lists.php.net to get a copy of this message | ||
asnagy Fri Oct 22 12:04:19 2004 EDT
Modified files:
/pear/Structures_DataGrid/DataGrid Column.php
Log:
Fixed formatter example code (Bug #2505)
http://cvs.php.net/diff.php/pear/Structures_DataGrid/DataGrid/Column.php?r1=1.7&r2=1.8&ty=u
Index: pear/Structures_DataGrid/DataGrid/Column.php
diff -u pear/Structures_DataGrid/DataGrid/Column.php:1.7
pear/Structures_DataGrid/DataGrid/Column.php:1.8
--- pear/Structures_DataGrid/DataGrid/Column.php:1.7 Mon Aug 16 11:42:24 2004
+++ pear/Structures_DataGrid/DataGrid/Column.php Fri Oct 22 12:04:16 2004
@@ -16,14 +16,14 @@
// | Author: Andrew Nagy <asnagy@webitecture.org> |
// +----------------------------------------------------------------------+
//
-// $Id: Column.php,v 1.7 2004/08/16 15:42:24 asnagy Exp $
+// $Id: Column.php,v 1.8 2004/10/22 16:04:16 asnagy Exp $
/**
* Structures_DataGrid_Column Class
*
* This class represents a single column for the DataGrid.
*
- * @version $Revision: 1.7 $
+ * @version $Revision: 1.8 $
* @author Andrew S. Nagy <asnagy@webitecture.org>
* @access public
* @package Structures_DataGrid
@@ -163,7 +163,7 @@
* <?php
* ...
* $linkTitle = 'Edit';
- * $column->formatter = 'printLink($linkTitle)';
+ * $column->formatter = 'printLink($linkTitle=' . $linkTitle . ')';
* $dg->addColumn($column);
* $dg->render();
* function printLink($params) {