cvs: pear /Structures_DataGrid/docs/examples removeColumn.php
| From: | Mark Wiesemann | Date: | Tue, 24 Oct 2006 15:50:14 +0000 |
| Subject: | cvs: pear /Structures_DataGrid/docs/examples removeColumn.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-42789@lists.php.net to get a copy of this message | ||
wiesemann Tue Oct 24 15:50:14 2006 UTC
Modified files:
/pear/Structures_DataGrid/docs/examples removeColumn.php
Log:
- fix method name in example
http://cvs.php.net/viewvc.cgi/pear/Structures_DataGrid/docs/examples/removeColumn.php?r1=1.1&r2=1.2&diff_format=u
Index: pear/Structures_DataGrid/docs/examples/removeColumn.php
diff -u pear/Structures_DataGrid/docs/examples/removeColumn.php:1.1
pear/Structures_DataGrid/docs/examples/removeColumn.php:1.2
--- pear/Structures_DataGrid/docs/examples/removeColumn.php:1.1 Mon Aug 7 09:21:26 2006
+++ pear/Structures_DataGrid/docs/examples/removeColumn.php Tue Oct 24 15:50:13 2006
@@ -11,7 +11,7 @@
$column =& $datagrid->getColumnByField('ID');
// And we drop that column:
-$datagrid->dropColumn($column);
+$datagrid->removeColumn($column);
// This will only render 4 fields: Name, CountryCode, District and Population:
$datagrid->render();