Class AbstractConnection

Summary

Fully Qualified Name: Zend\Db\Adapter\Driver\AbstractConnection
Implements: ConnectionInterface, ProfilerAwareInterface

Description

Methods

Name Description Defined By
disconnect() {@inheritDoc} AbstractConnection
getConnectionParameters() Get connection parameters AbstractConnection
getDriverName() Get driver name AbstractConnection
getProfiler() AbstractConnection
getResource() {@inheritDoc} AbstractConnection
inTransaction() Checks whether the connection is in transaction state. AbstractConnection
setConnectionParameters() AbstractConnection
setProfiler() {@inheritDoc} AbstractConnection

Method Details

disconnect()

{@inheritDoc}

Returns:

getConnectionParameters()

Get connection parameters

Returns: array

getDriverName()

Get driver name

Returns: null|string

getProfiler()

Returns: null|\ProfilerInterface

getResource()

{@inheritDoc}

Returns: resource

inTransaction()

Checks whether the connection is in transaction state.

Returns: bool

setConnectionParameters()

Parameter Name Type Description
$connectionParameters array

Returns: self Provides a fluent interface

setProfiler()

{@inheritDoc}

Parameter Name Type Description
$profiler

Returns: self Provides a fluent interface

Top