cvs: pear /Structures_DataGrid DataGrid.php

From: Date: Thu, 18 Mar 2004 15:54:53 +0000
Subject: cvs: pear /Structures_DataGrid DataGrid.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-17512@lists.php.net to get a copy of this message
asnagy Thu Mar 18 10:54:53 2004 EDT Modified files: /pear/Structures_DataGrid DataGrid.php Log: Removed parenthesis from require statements for Coding Standards Removed unnecessary define statements, suggested by Alan Knowles http://cvs.php.net/diff.php/pear/Structures_DataGrid/DataGrid.php?r1=1.1&r2=1.2&ty=u Index: pear/Structures_DataGrid/DataGrid.php diff -u pear/Structures_DataGrid/DataGrid.php:1.1 pear/Structures_DataGrid/DataGrid.php:1.2 --- pear/Structures_DataGrid/DataGrid.php:1.1 Wed Mar 17 11:08:30 2004 +++ pear/Structures_DataGrid/DataGrid.php Thu Mar 18 10:54:53 2004 @@ -16,11 +16,11 @@ // | Author: Andrew Nagy <asnagy@webitecture.org> | // +----------------------------------------------------------------------+ // -// $Id: DataGrid.php,v 1.1 2004/03/17 16:08:30 asnagy Exp $ +// $Id: DataGrid.php,v 1.2 2004/03/18 15:54:53 asnagy Exp $ -require_once ('PEAR.php'); +require_once 'PEAR.php'; -require_once ('DataGrid/Renderer.php'); +require_once 'DataGrid/Renderer.php'; define ('DATAGRID_RENDER_TABLE', 'HTMLTable'); define ('DATAGRID_RENDER_SMARTY', 'Smarty'); @@ -30,8 +30,9 @@ define ('DATAGRID_RECORD_DATAOBJECT', 'DataObject'); define ('DATAGRID_RECORD_DBRESULT', 'DBResult'); -define ('DATAGRID_SORT_ASC', 'ASC'); -define ('DATAGRID_SORT_DESC', 'DESC'); +// Unnecessary? +//define ('DATAGRID_SORT_ASC', 'ASC'); +//define ('DATAGRID_SORT_DESC', 'DESC'); /** * Structures_DataGrid Class @@ -57,7 +58,7 @@ * $dg->render(); * ?> * - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ * @author Andrew S. Nagy <asnagy@webitecture.org> * @access public * @package Structures_DataGrid

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