Bug #4514 [Opn->Csd]: Just a documentation bug
| From: | alexmerz@php.net | Date: | Thu, 02 Jun 2005 21:24:49 +0000 |
| Subject: | Bug #4514 [Opn->Csd]: Just a documentation bug | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-6153@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=4514&edit=1
ID: 4514
Updated by: alexmerz@php.net
Reported By: jaskirat at javaden dot com
-Status: Open
+Status: Closed
Type: Bug
Package: Documentation
Operating System: Does not matter
PHP Version: Irrelevant
New Comment:
According to the docs of Structures_DataGrid::Structures_DataGrid()
the default value is '0'. I fixed the example to use '0' as default
value instead of null.
Previous Comments:
------------------------------------------------------------------------
[2005-06-02 11:23:11] jaskirat at javaden dot com
Description:
------------
http://pear.php.net/manual/en/package.structures.structures-datagrid.example-extending.php
on the above link
this line
function myDataGrid($limit = null, $page = null)
I think it should be $page = 1 as default .. because other wise code is
not producing the correct page the first time .. and when I change it to
1 it works fine.
regards
Jaskirat
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=4514&edit=1