package Default

 Methods

__construct()

__construct(boolean $bufferResults = false

Parameters

$bufferResults

boolean

Execute

execute(null|array|\Zend\Db\Adapter\ParameterContainer $parameters = null) : mixed
inherited_from \Zend\Db\Adapter\Driver\StatementInterface::execute()

Parameters

$parameters

nullarray\Zend\Db\Adapter\ParameterContainer

Exceptions

\Zend\Db\Adapter\Exception\RuntimeException

Returns

mixed

Get parameter count

getParameterContainer() : \Zend\Db\Adapter\ParameterContainer

Returns

\Zend\Db\Adapter\ParameterContainer

getProfiler()

getProfiler() : null | \Zend\Db\Adapter\Profiler\ProfilerInterface

Returns

null\Zend\Db\Adapter\Profiler\ProfilerInterface

Get resource

getResource() : mixed
inherited_from \Zend\Db\Adapter\Driver\StatementInterface::getResource()

Returns

mixed

Get sql

getSql() : string

Returns

string

Initialize

initialize(\mysqli $mysqli) : \Zend\Db\Adapter\Driver\Mysqli\Statement

Parameters

$mysqli

\mysqli

Returns

\Zend\Db\Adapter\Driver\Mysqli\Statement

Is prepared

isPrepared() : boolean
inherited_from \Zend\Db\Adapter\Driver\StatementInterface::isPrepared()

Returns

boolean

Prepare

prepare(string $sql = null) : \Zend\Db\Adapter\Driver\Mysqli\Statement
inherited_from \Zend\Db\Adapter\Driver\StatementInterface::prepare()

Parameters

$sql

string

Exceptions

\Zend\Db\Adapter\Exception\InvalidQueryException
\Zend\Db\Adapter\Exception\RuntimeException

Returns

\Zend\Db\Adapter\Driver\Mysqli\Statement

Set driver

setDriver(\Zend\Db\Adapter\Driver\Mysqli\Mysqli $driver) : \Zend\Db\Adapter\Driver\Mysqli\Statement

Parameters

$driver

\Zend\Db\Adapter\Driver\Mysqli\Mysqli

Returns

\Zend\Db\Adapter\Driver\Mysqli\Statement

Set Parameter container

setParameterContainer(\Zend\Db\Adapter\ParameterContainer $parameterContainer) : \Zend\Db\Adapter\Driver\Mysqli\Statement

Parameters

$parameterContainer

\Zend\Db\Adapter\ParameterContainer

Returns

\Zend\Db\Adapter\Driver\Mysqli\Statement

setProfiler()

setProfiler(\Zend\Db\Adapter\Profiler\ProfilerInterface $profiler) : \Zend\Db\Adapter\Driver\Mysqli\Statement
inherited_from \Zend\Db\Adapter\Profiler\ProfilerAwareInterface::setProfiler()

Parameters

$profiler

\Zend\Db\Adapter\Profiler\ProfilerInterface

Returns

\Zend\Db\Adapter\Driver\Mysqli\Statement

Set resource

setResource(\mysqli_stmt $mysqliStatement) : \Zend\Db\Adapter\Driver\Mysqli\Statement

Parameters

$mysqliStatement

\mysqli_stmt

Returns

\Zend\Db\Adapter\Driver\Mysqli\Statement

Set sql

setSql(string $sql) : \Zend\Db\Adapter\Driver\Mysqli\Statement

Parameters

$sql

string

Returns

\Zend\Db\Adapter\Driver\Mysqli\Statement

Bind parameters from container

bindParametersFromContainer() : void

 Properties

 

$bufferResults

$bufferResults : boolean

Default

false
 

$driver

$driver : \Zend\Db\Adapter\Driver\Mysqli\Mysqli

Default

null
 

Is prepared

$isPrepared : boolean

Default

false
 

$mysqli

$mysqli : \mysqli

Default

null
 

Parameter container

$parameterContainer : \Zend\Db\Adapter\ParameterContainer

Default

null
 

$profiler

$profiler : \Zend\Db\Adapter\Profiler\ProfilerInterface

Default

null
 

$resource

$resource : \mysqli_stmt

Default

null
 

$sql

$sql : string

Default

''