cvs: pear /Structures_DataGrid DataGrid.php

From: Date: Fri, 25 Jun 2004 14:39:08 +0000
Subject: cvs: pear /Structures_DataGrid DataGrid.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-21117@lists.php.net to get a copy of this message
asnagy Fri Jun 25 10:39:08 2004 EDT Modified files: /pear/Structures_DataGrid DataGrid.php Log: Updated inline comment datagrid example http://cvs.php.net/diff.php/pear/Structures_DataGrid/DataGrid.php?r1=1.3&r2=1.4&ty=u Index: pear/Structures_DataGrid/DataGrid.php diff -u pear/Structures_DataGrid/DataGrid.php:1.3 pear/Structures_DataGrid/DataGrid.php:1.4 --- pear/Structures_DataGrid/DataGrid.php:1.3 Mon May 3 21:42:54 2004 +++ pear/Structures_DataGrid/DataGrid.php Fri Jun 25 10:39:08 2004 @@ -16,7 +16,7 @@ // | Author: Andrew Nagy <asnagy@webitecture.org> | // +----------------------------------------------------------------------+ // -// $Id: DataGrid.php,v 1.3 2004/05/04 01:42:54 asnagy Exp $ +// $Id: DataGrid.php,v 1.4 2004/06/25 14:39:08 asnagy Exp $ require_once 'PEAR.php'; @@ -48,17 +48,17 @@ * * Quick Example: * <?php - * require('DataGrid.php'); + * require('Structures/DataGrid.php'); * $dg = new Structures_DataGrid(); * $result = mysql_query('SELECT * FROM users'); * while ($rs = mysql_fetch_assoc($result)) { * $dataSet[] = $rs; * } * $dg->bind($dataSet); - * $dg->render(); + * echo $dg->render(); * ?> * - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ * @author Andrew S. Nagy <asnagy@webitecture.org> * @access public * @package Structures_DataGrid

« previous php.pear.cvs (#21117) next »