cvs: pear /Structures_DataGrid/DataGrid Core.php Renderer.php /Structures_DataGrid/DataGrid/Record DB.php DataObject.php
/Structures_DataGrid/DataGrid/Renderer HTMLTable.php Smarty.php XML.php
| From: | Andrew Nagy | Date: | Thu, 18 Mar 2004 15:56:24 +0000 |
| Subject: | cvs: pear /Structures_DataGrid/DataGrid Core.php Renderer.php /Structures_DataGrid/DataGrid/Record DB.php DataObject.php /Structures_DataGrid/DataGrid/Renderer HTMLTable.php Smarty.php XML.php |
||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-17513@lists.php.net to get a copy of this message | ||
asnagy Thu Mar 18 10:56:24 2004 EDT
Modified files:
/pear/Structures_DataGrid/DataGrid Core.php Renderer.php
/pear/Structures_DataGrid/DataGrid/Record DB.php DataObject.php
/pear/Structures_DataGrid/DataGrid/Renderer HTMLTable.php
Smarty.php XML.php
Log:
Removed parentesis from require statements to follow the coding standards
http://cvs.php.net/diff.php/pear/Structures_DataGrid/DataGrid/Core.php?r1=1.1&r2=1.2&ty=u
Index: pear/Structures_DataGrid/DataGrid/Core.php
diff -u pear/Structures_DataGrid/DataGrid/Core.php:1.1
pear/Structures_DataGrid/DataGrid/Core.php:1.2
--- pear/Structures_DataGrid/DataGrid/Core.php:1.1 Wed Mar 17 11:08:30 2004
+++ pear/Structures_DataGrid/DataGrid/Core.php Thu Mar 18 10:56:23 2004
@@ -16,10 +16,10 @@
// | Author: Andrew Nagy <asnagy@webitecture.org> |
// +----------------------------------------------------------------------+
//
-// $Id: Core.php,v 1.1 2004/03/17 16:08:30 asnagy Exp $
+// $Id: Core.php,v 1.2 2004/03/18 15:56:23 asnagy Exp $
-require_once ('DataGrid/Column.php');
-require_once ('DataGrid/Record.php');
+require_once 'DataGrid/Column.php';
+require_once 'DataGrid/Record.php';
/**
* Structures_DataGrid_Core Class
@@ -28,7 +28,7 @@
* It offers the paging and sorting methods as well as the record and column
* management methods.
*
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
* @author Andrew S. Nagy <asnagy@webitecture.org>
* @access public
* @package Structures_DataGrid
@@ -203,7 +203,7 @@
{
$bool = strnatcmp($a[$this->sortArray[0]], $b[$this->sortArray[0]]);
- if ($this->sortArray[1] == DATAGRID_SORT_DESC) {
+ if ($this->sortArray[1] == 'DESC') {
$bool = $bool * -1;
}
http://cvs.php.net/diff.php/pear/Structures_DataGrid/DataGrid/Renderer.php?r1=1.1&r2=1.2&ty=u
Index: pear/Structures_DataGrid/DataGrid/Renderer.php
diff -u pear/Structures_DataGrid/DataGrid/Renderer.php:1.1
pear/Structures_DataGrid/DataGrid/Renderer.php:1.2
--- pear/Structures_DataGrid/DataGrid/Renderer.php:1.1 Wed Mar 17 11:08:30 2004
+++ pear/Structures_DataGrid/DataGrid/Renderer.php Thu Mar 18 10:56:23 2004
@@ -16,9 +16,9 @@
// | Author: Andrew Nagy <asnagy@webitecture.org> |
// +----------------------------------------------------------------------+
//
-// $Id: Renderer.php,v 1.1 2004/03/17 16:08:30 asnagy Exp $
+// $Id: Renderer.php,v 1.2 2004/03/18 15:56:23 asnagy Exp $
-require_once ('DataGrid/Core.php');
+require_once 'DataGrid/Core.php';
/**
* Structures_DataGrid_Renderer Class
@@ -26,7 +26,7 @@
* This class handles mangeing the output for the DataGrid.
* By default, the output is handled by the HTML Table renderer.
*
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
* @author Andrew S. Nagy <asnagy@webitecture.org>
* @access public
* @package Structures_DataGrid
http://cvs.php.net/diff.php/pear/Structures_DataGrid/DataGrid/Record/DB.php?r1=1.1&r2=1.2&ty=u
Index: pear/Structures_DataGrid/DataGrid/Record/DB.php
diff -u pear/Structures_DataGrid/DataGrid/Record/DB.php:1.1
pear/Structures_DataGrid/DataGrid/Record/DB.php:1.2
--- pear/Structures_DataGrid/DataGrid/Record/DB.php:1.1 Wed Mar 17 11:08:31 2004
+++ pear/Structures_DataGrid/DataGrid/Record/DB.php Thu Mar 18 10:56:23 2004
@@ -16,14 +16,14 @@
// | Author: Andrew Nagy <asnagy@webitecture.org> |
// +----------------------------------------------------------------------+
//
-// $Id: DB.php,v 1.1 2004/03/17 16:08:31 asnagy Exp $
+// $Id: DB.php,v 1.2 2004/03/18 15:56:23 asnagy Exp $
-require_once('DataGrid/Record.php');
+require_once 'DataGrid/Record.php';
/**
* Structures_DataGrid_Record_DB Class
*
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
* @author Andrew S. Nagy <asnagy@webitecture.org>
* @access public
* @package Structures_DataGrid
http://cvs.php.net/diff.php/pear/Structures_DataGrid/DataGrid/Record/DataObject.php?r1=1.1&r2=1.2&ty=u
Index: pear/Structures_DataGrid/DataGrid/Record/DataObject.php
diff -u pear/Structures_DataGrid/DataGrid/Record/DataObject.php:1.1
pear/Structures_DataGrid/DataGrid/Record/DataObject.php:1.2
--- pear/Structures_DataGrid/DataGrid/Record/DataObject.php:1.1 Wed Mar 17 11:08:31 2004
+++ pear/Structures_DataGrid/DataGrid/Record/DataObject.php Thu Mar 18 10:56:23 2004
@@ -16,14 +16,14 @@
// | Author: Andrew Nagy <asnagy@webitecture.org> |
// +----------------------------------------------------------------------+
//
-// $Id: DataObject.php,v 1.1 2004/03/17 16:08:31 asnagy Exp $
+// $Id: DataObject.php,v 1.2 2004/03/18 15:56:23 asnagy Exp $
-require_once('DataGrid/Record.php');
+require_once 'DataGrid/Record.php';
/**
* Structures_DataGrid_Record_DataObject Class
*
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
* @author Andrew S. Nagy <asnagy@webitecture.org>
* @access public
* @package Structures_DataGrid
http://cvs.php.net/diff.php/pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php?r1=1.2&r2=1.3&ty=u
Index: pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php
diff -u pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php:1.2
pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php:1.3
--- pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php:1.2 Wed Mar 17 15:07:37 2004
+++ pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php Thu Mar 18 10:56:24 2004
@@ -16,14 +16,14 @@
// | Author: Andrew Nagy <asnagy@webitecture.org> |
// +----------------------------------------------------------------------+
//
-// $Id: HTMLTable.php,v 1.2 2004/03/17 20:07:37 asnagy Exp $
+// $Id: HTMLTable.php,v 1.3 2004/03/18 15:56:24 asnagy Exp $
-require_once ('HTML/Table.php');
+require_once 'HTML/Table.php';
/**
* Structures_DataGrid_Renderer_HTMLTable Class
*
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
* @author Andrew S. Nagy <asnagy@webitecture.org>
* @access public
* @package Structures_DataGrid
http://cvs.php.net/diff.php/pear/Structures_DataGrid/DataGrid/Renderer/Smarty.php?r1=1.2&r2=1.3&ty=u
Index: pear/Structures_DataGrid/DataGrid/Renderer/Smarty.php
diff -u pear/Structures_DataGrid/DataGrid/Renderer/Smarty.php:1.2
pear/Structures_DataGrid/DataGrid/Renderer/Smarty.php:1.3
--- pear/Structures_DataGrid/DataGrid/Renderer/Smarty.php:1.2 Wed Mar 17 15:07:37 2004
+++ pear/Structures_DataGrid/DataGrid/Renderer/Smarty.php Thu Mar 18 10:56:24 2004
@@ -16,14 +16,14 @@
// | Author: Andrew Nagy <asnagy@webitecture.org> |
// +----------------------------------------------------------------------+
//
-// $Id: Smarty.php,v 1.2 2004/03/17 20:07:37 asnagy Exp $
+// $Id: Smarty.php,v 1.3 2004/03/18 15:56:24 asnagy Exp $
-require_once ('Smarty/Smarty.class.php');
+require_once 'Smarty/Smarty.class.php';
/**
* Structures_DataGrid_Renderer_Smarty Class
*
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
* @author Andrew S. Nagy <asnagy@webitecture.org>
* @access public
* @package Structures_DataGrid
http://cvs.php.net/diff.php/pear/Structures_DataGrid/DataGrid/Renderer/XML.php?r1=1.2&r2=1.3&ty=u
Index: pear/Structures_DataGrid/DataGrid/Renderer/XML.php
diff -u pear/Structures_DataGrid/DataGrid/Renderer/XML.php:1.2
pear/Structures_DataGrid/DataGrid/Renderer/XML.php:1.3
--- pear/Structures_DataGrid/DataGrid/Renderer/XML.php:1.2 Wed Mar 17 15:07:37 2004
+++ pear/Structures_DataGrid/DataGrid/Renderer/XML.php Thu Mar 18 10:56:24 2004
@@ -16,14 +16,14 @@
// | Author: Andrew Nagy <asnagy@webitecture.org> |
// +----------------------------------------------------------------------+
//
-// $Id: XML.php,v 1.2 2004/03/17 20:07:37 asnagy Exp $
+// $Id: XML.php,v 1.3 2004/03/18 15:56:24 asnagy Exp $
-require ('XML/Util.php');
+require_once 'XML/Util.php';
/**
* Structures_DataGrid_Renderer_XML Class
*
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
* @author Andrew S. Nagy <asnagy@webitecture.org>
* @access public
* @package Structures_DataGrid