cvs: peardoc /en/package/structures/structures-datagrid/structures-datagrid removecolumn.xml

From: Date: Tue, 24 Oct 2006 15:39:51 +0000
Subject: cvs: peardoc /en/package/structures/structures-datagrid/structures-datagrid removecolumn.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-8656@lists.php.net to get a copy of this message
wiesemann Tue Oct 24 15:39:51 2006 UTC Modified files: /peardoc/en/package/structures/structures-datagrid/structures-datagrid removecolumn.xml Log: - fix method name in example http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/removecolumn.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/removecolumn.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/removecolumn.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/removecolumn.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/removecolumn.xml:1.1 Sun Aug 20 22:04:22 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/removecolumn.xml Tue Oct 24 15:39:51 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.removecolumn"> <refnamediv> <refname><function>Structures_DataGrid::removeColumn</function></refname> @@ -80,7 +80,7 @@ $column =&amp; $datagrid-&gt;<link linkend="package.structures.structures-datagrid.structures-datagrid.getcolumnbyfield">getColumnByField</link>(&apos;ID&apos;); // And we drop that column: -$datagrid-&gt;dropColumn($column); +$datagrid-&gt;removeColumn($column); // This will only render 4 fields: Name, CountryCode, District and Population: $datagrid-&gt;<link linkend="package.structures.structures-datagrid.structures-datagrid.render">render</link>();

« previous php.pear.doc (#8656) next »