PHP Classes

Missing argument

Recommend this page to a friend!

      PHP data grid class  >  All threads  >  Missing argument  >  (Un) Subscribe thread alerts  
Subject:Missing argument
Summary:for render()
Messages:3
Author:riscphree
Date:2008-07-03 01:02:16
Update:2009-02-24 14:14:20
 

  1. Missing argument   Reply   Report abuse  
Picture of riscphree riscphree - 2008-07-03 01:02:16
I get this error:

Warning: Missing argument 1 for dataGrid::render(), called in /home/public_html/browse.php on line 92 and defined in /home/public_html/class.datagrid.php on line 636

I'm not exactly familiar with xtemplate, and I know this is only a warning but is outputting no results :(

Any hints?

  2. Re: Missing argument   Reply   Report abuse  
Picture of Kev Kev - 2008-10-02 14:56:04 - In reply to message 1 from riscphree
I'm getting the same error message too.

I've tried putting the name of the page as an argument...
$grid->render("example4.php");
Which then gets rid of the error but only produces a plain list, not a formatted grid.

Also, where is the 'documentation' that is referred to on several pages?
All I have is a readme.txt file which has a couple of lines warning about the mySql db.

Is this class still being maintained?




  3. Re: Missing argument   Reply   Report abuse  
Picture of Victor Kortselius Victor Kortselius - 2009-02-24 14:14:20 - In reply to message 2 from Kev
$grid->render(); should contain a Boolean