cvs: pear /Structures_DataGrid/DataGrid/DataSource Common.php
| From: | Olivier Guilyardi | Date: | Wed, 01 Mar 2006 23:39:33 +0000 |
| Subject: | cvs: pear /Structures_DataGrid/DataGrid/DataSource Common.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-38821@lists.php.net to get a copy of this message | ||
olivierg Wed Mar 1 23:39:33 2006 UTC
Modified files:
/pear/Structures_DataGrid/DataGrid/DataSource Common.php
Log:
Added a big FIXME about class naming
http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid/DataSource/Common.php?r1=1.4&r2=1.5&diff_format=u
Index: pear/Structures_DataGrid/DataGrid/DataSource/Common.php
diff -u pear/Structures_DataGrid/DataGrid/DataSource/Common.php:1.4
pear/Structures_DataGrid/DataGrid/DataSource/Common.php:1.5
--- pear/Structures_DataGrid/DataGrid/DataSource/Common.php:1.4 Wed Mar 1 23:30:21 2006
+++ pear/Structures_DataGrid/DataGrid/DataSource/Common.php Wed Mar 1 23:39:33 2006
@@ -17,7 +17,7 @@
// | Andrew Nagy <asnagy@webitecture.org> |
// +----------------------------------------------------------------------+
//
-// $Id: Common.php,v 1.4 2006/03/01 23:30:21 olivierg Exp $
+// $Id: Common.php,v 1.5 2006/03/01 23:39:33 olivierg Exp $
/**
@@ -86,6 +86,16 @@
*/
class Structures_DataGrid_DataSource_Common
{
+ /* FIXME: Did we really need to rename this class from DataSource to
+ * DataSource_Common ? IIRC we did this to mimic the MDB2 internals,
+ * which is pointless. There are some good practices in MDB2, that
+ * we have tried to implement in the Renderer layer. But the "Common"
+ * suffix is convention that we do not need to follow.
+ *
+ * It will break BC for no reason. for people who have written their own
+ * drivers by subclassing the old DataSource class.
+ */
+
/**
* Common and driver-specific options
*