package Default

 Methods

Constructor

__construct(array|\Zend\Db\Adapter\Driver\Mysqli\Connection|\mysqli $connection, null|\Zend\Db\Adapter\Driver\Mysqli\Statement $statementPrototype = null, null|\Zend\Db\Adapter\Driver\Mysqli\Result $resultPrototype = null, array $options = array()

Parameters

$connection

array\Zend\Db\Adapter\Driver\Mysqli\Connection\mysqli

$statementPrototype

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

$resultPrototype

null\Zend\Db\Adapter\Driver\Mysqli\Result

$options

array

Check environment

checkEnvironment() : void
inherited_from \Zend\Db\Adapter\Driver\DriverInterface::checkEnvironment()

Exceptions

\Zend\Db\Adapter\Exception\RuntimeException

Create result

createResult(resource $resource, null|boolean $isBuffered = null) : \Zend\Db\Adapter\Driver\Mysqli\Result
inherited_from \Zend\Db\Adapter\Driver\DriverInterface::createResult()

Parameters

$resource

resource

$isBuffered

nullboolean

Returns

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

Create statement

createStatement(string $sqlOrResource = null) : \Zend\Db\Adapter\Driver\Mysqli\Statement
inherited_from \Zend\Db\Adapter\Driver\DriverInterface::createStatement()

Parameters

$sqlOrResource

string

Returns

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

Format parameter name

formatParameterName(string $name, mixed $type = null) : string
inherited_from \Zend\Db\Adapter\Driver\DriverInterface::formatParameterName()

Parameters

$name

string

$type

mixed

Returns

string

Get connection

getConnection() : \Zend\Db\Adapter\Driver\Mysqli\Connection
inherited_from \Zend\Db\Adapter\Driver\DriverInterface::getConnection()

Returns

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

Get database platform name

getDatabasePlatformName(string $nameFormat = self::NAME_FORMAT_CAMELCASE) : string
inherited_from \Zend\Db\Adapter\Driver\DriverInterface::getDatabasePlatformName()

Parameters

$nameFormat

string

Returns

string

Get last generated value

getLastGeneratedValue() : mixed
inherited_from \Zend\Db\Adapter\Driver\DriverInterface::getLastGeneratedValue()

Returns

mixed

Get prepare type

getPrepareType() : array
inherited_from \Zend\Db\Adapter\Driver\DriverInterface::getPrepareType()

Returns

array

getProfiler()

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

Returns

null\Zend\Db\Adapter\Profiler\ProfilerInterface

getResultPrototype()

getResultPrototype() : null | \Zend\Db\Adapter\Driver\Mysqli\Result

Returns

null\Zend\Db\Adapter\Driver\Mysqli\Result

Get statement prototype

getStatementPrototype() : null | \Zend\Db\Adapter\Driver\Mysqli\Statement

Returns

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

Register connection

registerConnection(\Zend\Db\Adapter\Driver\Mysqli\Connection $connection) : \Zend\Db\Adapter\Driver\Mysqli\Mysqli

Parameters

$connection

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

Returns

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

Register result prototype

registerResultPrototype(\Zend\Db\Adapter\Driver\Mysqli\Result $resultPrototype) 

Parameters

$resultPrototype

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

Register statement prototype

registerStatementPrototype(\Zend\Db\Adapter\Driver\Mysqli\Statement $statementPrototype) 

Parameters

$statementPrototype

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

setProfiler()

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

Parameters

$profiler

\Zend\Db\Adapter\Profiler\ProfilerInterface

Returns

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

 Properties

 

$connection

$connection : \Zend\Db\Adapter\Driver\Mysqli\Connection

Default

null
 

$options

$options : array

Default

array('buffer_results' => false)
 

$profiler

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

Default

null
 

$resultPrototype

$resultPrototype : \Zend\Db\Adapter\Driver\Mysqli\Result

Default

null
 

$statementPrototype

$statementPrototype : \Zend\Db\Adapter\Driver\Mysqli\Statement

Default

null