Fully Qualified Name: | Zend\Db\Adapter\Driver\Pdo\Pdo |
Implements: | DriverInterface, DriverFeatureInterface, ProfilerAwareInterface |
Name | Description | Defined By |
---|---|---|
__construct() | Pdo | |
addFeature() | Add feature | Pdo |
checkEnvironment() | Check environment | Pdo |
createResult() | Pdo | |
createStatement() | Pdo | |
formatParameterName() | Pdo | |
getConnection() | Pdo | |
getDatabasePlatformName() | Get database platform name | Pdo |
getFeature() | Get feature | Pdo |
getLastGeneratedValue() | Pdo | |
getPrepareType() | Pdo | |
getProfiler() | Pdo | |
registerConnection() | Register connection | Pdo |
registerResultPrototype() | Register result prototype | Pdo |
registerStatementPrototype() | Register statement prototype | Pdo |
setProfiler() | Pdo | |
setupDefaultFeatures() | Setup the default features for Pdo | Pdo |
Parameter Name | Type | Description |
---|---|---|
$connection | array|\Connection|\PDO | |
$statementPrototype | null|\Statement | |
$resultPrototype | null|\Result | |
$features | string |
Returns:
Add feature
Parameter Name | Type | Description |
---|---|---|
$name | string | |
$feature | \AbstractFeature |
Returns: self Provides a fluent interface
Check environment
Returns:
Parameter Name | Type | Description |
---|---|---|
$resource | resource | |
$context | mixed |
Returns: \Result
Parameter Name | Type | Description |
---|---|---|
$sqlOrResource | string|\PDOStatement |
Returns: \Statement
Parameter Name | Type | Description |
---|---|---|
$name | string | |
$type | string|null |
Returns: string
Returns: \Connection
Get database platform name
Parameter Name | Type | Description |
---|---|---|
$nameFormat | string |
Returns: string
Get feature
Parameter Name | Type | Description |
---|---|---|
$name | ||
$name |
Returns: \AbstractFeature|bool
Parameter Name | Type | Description |
---|---|---|
$name | string|null |
Returns: string|null|bool
Returns: string
Returns: null|\Profiler\ProfilerInterface
Register connection
Parameter Name | Type | Description |
---|---|---|
$connection | \Connection |
Returns: self Provides a fluent interface
Register result prototype
Parameter Name | Type | Description |
---|---|---|
$resultPrototype | \Result |
Returns:
Register statement prototype
Parameter Name | Type | Description |
---|---|---|
$statementPrototype | \Statement |
Returns:
Parameter Name | Type | Description |
---|---|---|
$profiler | \Profiler\ProfilerInterface |
Returns: self Provides a fluent interface
Setup the default features for Pdo
Returns: self Provides a fluent interface