cvs: pear /Structures_DataGrid DataGrid.php

From: Date: Mon, 16 Aug 2004 15:41:59 +0000
Subject: cvs: pear /Structures_DataGrid DataGrid.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-22977@lists.php.net to get a copy of this message
asnagy Mon Aug 16 11:41:59 2004 EDT Modified files: /pear/Structures_DataGrid DataGrid.php Log: Added XUL render definition http://cvs.php.net/diff.php/pear/Structures_DataGrid/DataGrid.php?r1=1.4&r2=1.5&ty=u Index: pear/Structures_DataGrid/DataGrid.php diff -u pear/Structures_DataGrid/DataGrid.php:1.4 pear/Structures_DataGrid/DataGrid.php:1.5 --- pear/Structures_DataGrid/DataGrid.php:1.4 Fri Jun 25 10:39:08 2004 +++ pear/Structures_DataGrid/DataGrid.php Mon Aug 16 11:41:59 2004 @@ -16,7 +16,7 @@ // | Author: Andrew Nagy <asnagy@webitecture.org> | // +----------------------------------------------------------------------+ // -// $Id: DataGrid.php,v 1.4 2004/06/25 14:39:08 asnagy Exp $ +// $Id: DataGrid.php,v 1.5 2004/08/16 15:41:59 asnagy Exp $ require_once 'PEAR.php'; @@ -26,13 +26,7 @@ define ('DATAGRID_RENDER_SMARTY', 'Smarty'); define ('DATAGRID_RENDER_XML', 'XML'); define ('DATAGRID_RENDER_XLS', 'XLS'); - -define ('DATAGRID_RECORD_DATAOBJECT', 'DataObject'); -define ('DATAGRID_RECORD_DBRESULT', 'DBResult'); - -// Unnecessary? -//define ('DATAGRID_SORT_ASC', 'ASC'); -//define ('DATAGRID_SORT_DESC', 'DESC'); +define ('DATAGRID_RENDER_XUL', 'XUL'); /** * Structures_DataGrid Class @@ -47,6 +41,7 @@ * custom designed with alternating color rows. * * Quick Example: + * <code> * <?php * require('Structures/DataGrid.php'); * $dg = new Structures_DataGrid(); @@ -57,8 +52,9 @@ * $dg->bind($dataSet); * echo $dg->render(); * ?> + * </code> * - * @version $Revision: 1.4 $ + * @version $Revision: 1.5 $ * @author Andrew S. Nagy <asnagy@webitecture.org> * @access public * @package Structures_DataGrid

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