Class Adapter

Summary

Fully Qualified Name: Zend\Db\Adapter\Adapter
Implements: AdapterInterface, ProfilerAwareInterface

Description

Methods

Name Description Defined By
__construct() Adapter
__get() Adapter
createStatement() Create statement Adapter
getCurrentSchema() Adapter
getDriver() getDriver() Adapter
getHelpers() Adapter
getPlatform() Adapter
getProfiler() Adapter
getQueryResultSetPrototype() Adapter
query() query() is a convenience function Adapter
setProfiler() Adapter

Method Details

__construct()

Parameter Name Type Description
$driver \Driver\DriverInterface|array
$platform \Platform\PlatformInterface
$queryResultPrototype \ResultSet\ResultSetInterface
$profiler \Profiler\ProfilerInterface

Returns:

__get()

Parameter Name Type Description
$name
$name

Returns: \Driver\DriverInterface|\Platform\PlatformInterface

createStatement()

Create statement

Parameter Name Type Description
$initialSql string
$initialParameters \ParameterContainer

Returns: \Driver\StatementInterface

getCurrentSchema()

Returns: void

getDriver()

getDriver()

Returns: \Driver\DriverInterface

getHelpers()

Returns: void

getPlatform()

Returns: \Platform\PlatformInterface

getProfiler()

Returns: null|\Profiler\ProfilerInterface

getQueryResultSetPrototype()

Returns: \ResultSet\ResultSetInterface

query()

query() is a convenience function

Parameter Name Type Description
$sql string
$parametersOrQueryMode string|array|\ParameterContainer
$resultPrototype \Zend\Db\ResultSet\ResultSetInterface

Returns: \Driver\StatementInterface|\ResultSet\ResultSet

setProfiler()

Parameter Name Type Description
$profiler \Profiler\ProfilerInterface

Returns: self Provides a fluent interface

Top