Zend Framework
1.12
|
Public Member Functions | |
setAdapter ($adapter) | |
Set the adapter. | |
getAdapter () | |
Adapter type to use. | |
setParams (array $params) | |
Set the adapter params. | |
getParams () | |
Adapter parameters. | |
setIsDefaultTableAdapter ($isDefaultTableAdapter) | |
Set whether to use this as default table adapter. | |
isDefaultTableAdapter () | |
Is this adapter the default table adapter? | |
getDbAdapter () | |
Retrieve initialized DB connection. | |
init () | |
Defined by Zend_Application_Resource_Resource. | |
setDefaultMetadataCache ($cache) | |
Set the default metadata cache. | |
![]() | |
__construct ($options=null) | |
Create a instance with options. | |
setOptions (array $options) | |
Set options from array. | |
getOptions () | |
Retrieve resource options. | |
mergeOptions (array $array1, $array2=null) | |
Merge options recursively. | |
setBootstrap (Zend_Application_Bootstrap_Bootstrapper $bootstrap) | |
Set the bootstrap to which the resource is attached. | |
getBootstrap () | |
Retrieve the bootstrap to which the resource is attached. | |
Protected Attributes | |
$_adapter = null | |
$_db | |
$_params = array() | |
$_isDefaultTableAdapter = true | |
![]() | |
$_bootstrap | |
$_options = array() | |
$_skipOptions | |
getAdapter | ( | ) |
Adapter type to use.
getDbAdapter | ( | ) |
Retrieve initialized DB connection.
getParams | ( | ) |
Adapter parameters.
init | ( | ) |
Defined by Zend_Application_Resource_Resource.
Implements Zend_Application_Resource_Resource.
isDefaultTableAdapter | ( | ) |
Is this adapter the default table adapter?
setAdapter | ( | $adapter | ) |
setDefaultMetadataCache | ( | $cache | ) |
Set the default metadata cache.
string | Zend_Cache_Core | $cache |
setIsDefaultTableAdapter | ( | $isDefaultTableAdapter | ) |
Set whether to use this as default table adapter.
boolean | $defaultTableAdapter |
setParams | ( | array | $params | ) |
|
protected |
|
protected |
|
protected |
|
protected |