Class Statement

Summary

Fully Qualified Name: Zend\Db\Adapter\Driver\Mysqli\Statement
Implements: StatementInterface, ProfilerAwareInterface

Description

Methods

Name Description Defined By
__construct() Statement
execute() Execute Statement
getParameterContainer() Get parameter count Statement
getProfiler() Statement
getResource() Get resource Statement
getSql() Get sql Statement
initialize() Initialize Statement
isPrepared() Is prepared Statement
prepare() Prepare Statement
setDriver() Set driver Statement
setParameterContainer() Set Parameter container Statement
setProfiler() Statement
setResource() Set resource Statement
setSql() Set sql Statement

Method Details

__construct()

Parameter Name Type Description
$bufferResults bool

Returns:

execute()

Execute

Parameter Name Type Description
$parameters null|array|\ParameterContainer

Returns: mixed

getParameterContainer()

Get parameter count

Returns: \ParameterContainer

getProfiler()

Returns: null|\Profiler\ProfilerInterface

getResource()

Get resource

Returns: mixed

getSql()

Get sql

Returns: string

initialize()

Initialize

Parameter Name Type Description
$mysqli \mysqli

Returns: self Provides a fluent interface

isPrepared()

Is prepared

Returns: bool

prepare()

Prepare

Parameter Name Type Description
$sql string

Returns: self Provides a fluent interface

setDriver()

Set driver

Parameter Name Type Description
$driver \Mysqli

Returns: self Provides a fluent interface

setParameterContainer()

Set Parameter container

Parameter Name Type Description
$parameterContainer \ParameterContainer

Returns: self Provides a fluent interface

setProfiler()

Parameter Name Type Description
$profiler \Profiler\ProfilerInterface

Returns: self Provides a fluent interface

setResource()

Set resource

Parameter Name Type Description
$mysqliStatement \mysqli_stmt

Returns: self Provides a fluent interface

setSql()

Set sql

Parameter Name Type Description
$sql string

Returns: self Provides a fluent interface

Top