Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Resource for creating database adapter
string $_adapter = 'null'Adapter to use
DetailsZend_Db_Adapter_Interface $_db = ''
Detailsboolean $_isDefaultTableAdapter = 'true'Wether to register the created adapter as default table adapter
Detailsarray $_params = 'array'Parameters to use
DetailsgetAdapter(
)
:
stringAdapter type to use
DetailsgetDbAdapter(
)
:
null|Zend_Db_Adapter_InterfaceRetrieve initialized DB connection
DetailsgetParams(
)
:
arrayAdapter parameters
Detailsinit(
)
:
Zend_Db_Adapter_Abstract|nullDefined by Zend_Application_Resource_Resource
DetailsisDefaultTableAdapter(
)
:
voidIs this adapter the default table adapter?
DetailssetAdapter(
$adapter $adapter
)
:
Zend_Application_Resource_DbSet the adapter
DetailssetIsDefaultTableAdapter(
$isDefaultTableAdapter
)
:
Zend_Application_Resource_DbSet whether to use this as default table adapter
DetailssetParams(
$adapter $params
)
:
Zend_Application_Resource_DbSet the adapter params
Details