ZF-1011: get a list of all supported db adapters
Description
Hi,
add static method: Zend_Db::listSupportedAdapters(void) return array of all database adapters which supported by Zend_Framework and installed php
array(
'' => ''
[, '' => ''[, ...]]
)
e.g:
array(
'pdo_mysql' => 'MySQL over PDO',
'pdo_sqlite' => 'SQLite over PDO',
'oracle>' => 'Oracle',
'mysqli' => 'MySQLi',
'db2' => 'DB2',
)
Comments
Posted by Bill Karwin (bkarwin) on 2007-03-05T12:02:36.000+0000
This seems like a useful feature, but it has no way of discovering any new adapters, including adapters that are implemented by a third-party, outside the Zend_Db_Adapter package space.
Posted by Marc Bennewitz (GIATA mbH) (mben) on 2007-03-05T13:37:34.000+0000
Adapters outside of ZF can't open with Zend_Db::factory(). Otherwise it must create an interface to add other adapters to ZF like:
Posted by Wil Sinclair (wil) on 2008-03-25T20:43:52.000+0000
Please categorize/fix as needed.
Posted by Wil Sinclair (wil) on 2008-04-18T13:11:57.000+0000
This doesn't appear to have been fixed in 1.5.0. Please update if this is not correct.
Posted by Wil Sinclair (wil) on 2008-12-04T12:53:16.000+0000
Reassigning as Ralph is the maintainer of Zend_Db
Posted by Wil Sinclair (wil) on 2008-12-04T13:00:00.000+0000
This would likely be a feature in a large environment component if we were to implement it. Closing for now as it is very old with no votes.