cvs: peardoc /en/package/structures/structures-datagrid example-extending.xml

From: Date: Thu, 02 Jun 2005 21:22:14 +0000
Subject: cvs: peardoc /en/package/structures/structures-datagrid example-extending.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-6152@lists.php.net to get a copy of this message
alexmerz Thu Jun 2 17:22:14 2005 EDT Modified files: /peardoc/en/package/structures/structures-datagrid example-extending.xml Log: cover #4514 http://cvs.php.net/diff.php/peardoc/en/package/structures/structures-datagrid/example-extending.xml?r1=1.6&r2=1.7&ty=u Index: peardoc/en/package/structures/structures-datagrid/example-extending.xml diff -u peardoc/en/package/structures/structures-datagrid/example-extending.xml:1.6 peardoc/en/package/structures/structures-datagrid/example-extending.xml:1.7 --- peardoc/en/package/structures/structures-datagrid/example-extending.xml:1.6 Thu Mar 24 15:22:26 2005 +++ peardoc/en/package/structures/structures-datagrid/example-extending.xml Thu Jun 2 17:22:13 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry id="package.structures.structures-datagrid.example-extending"> <refnamediv> @@ -35,7 +35,7 @@ require('Structures/DataGrid.php'); class myDataGrid extends Structures_DataGrid { - function myDataGrid($limit = null, $page = null) + function myDataGrid($limit = null, $page = 0) { parent::Structures_DataGrid($limit, $page); @@ -48,7 +48,7 @@ $this->renderer->setTableAttribute('cellspacing', '1'); $this->renderer->setTableAttribute('cellpadding', '4'); $this->renderer->setTableAttribute('class', 'datagrid'); - + // Set sorting icons $dg->renderer->sortIconASC = '&uarr;'; $dg->renderer->sortIconDESC = '&darr;';

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