Req #16599 [Opn->Ver]: Additional DataSource for DB_Table_Database
| From: | wiesemann@php.net | Date: | Sat, 12 Sep 2009 17:29:58 +0000 |
| Subject: | Req #16599 [Opn->Ver]: Additional DataSource for DB_Table_Database | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-1609@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=16599&edit=1
ID: 16599
Updated by: wiesemann@php.net
Reported By: hartmut dot wilhelms at arcor dot de
Summary: Additional DataSource for DB_Table_Database
-Status: Open
+Status: Verified
Type: Feature/Change Request
Package: Structures_DataGrid
Operating System: Windows / Linux
Package Version: 0.9.0
PHP Version: Irrelevant
-Assigned To:
+Assigned To: wiesemann
Roadmap Versions:
New Comment:
-Status: Open
+Status: Verified
-Assigned To:
+Assigned To: wiesemann
Previous Comments:
------------------------------------------------------------------------
[2009-09-12 08:40:38] #4c357d801f38ea147df
Description:
------------
In contrast to a DB_Table query I want also to manage multijoined views
based on DB_Table_Database.
My solution is a small additional Package
Structures_DataGrid_DataSource_DBTableBase
Test script:
---------------
// Datenbank verbinden
$adb =& new DB_Table_Database();
// Datenbankabfrage anbinden
$options = array(
'view' => 'schein_full',
'where' => $where, // DEMO
);
$ret = $grid->bind($adb, $options);
if (PEAR::isError($ret)) { die (__CLASS__.': '. $ret->getMessage());
}
Expected result:
----------------
that it is working
Actual result:
--------------
Message, that the datasource driver coult not be determined
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=16599&edit=1