Class Mysqli

Summary

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

Description

Methods

Name Description Defined By
__construct() Constructor Mysqli
checkEnvironment() Check environment Mysqli
createResult() Create result Mysqli
createStatement() Create statement Mysqli
formatParameterName() Format parameter name Mysqli
getConnection() Get connection Mysqli
getDatabasePlatformName() Get database platform name Mysqli
getLastGeneratedValue() Get last generated value Mysqli
getPrepareType() Get prepare type Mysqli
getProfiler() Mysqli
getResultPrototype() Mysqli
getStatementPrototype() Get statement prototype Mysqli
registerConnection() Register connection Mysqli
registerResultPrototype() Register result prototype Mysqli
registerStatementPrototype() Register statement prototype Mysqli
setProfiler() Mysqli

Method Details

__construct()

Constructor

Parameter Name Type Description
$connection array|\Connection|\mysqli
$statementPrototype null|\Statement
$resultPrototype null|\Result
$options array

Returns:

checkEnvironment()

Check environment

Returns: void

createResult()

Create result

Parameter Name Type Description
$resource resource
$isBuffered null|bool

Returns: \Result

createStatement()

Create statement

Parameter Name Type Description
$sqlOrResource string

Returns: \Statement

formatParameterName()

Format parameter name

Parameter Name Type Description
$name string
$type mixed

Returns: string

getConnection()

Get connection

Returns: \Connection

getDatabasePlatformName()

Get database platform name

Parameter Name Type Description
$nameFormat string

Returns: string

getLastGeneratedValue()

Get last generated value

Returns: mixed

getPrepareType()

Get prepare type

Returns: string

getProfiler()

Returns: null|\Profiler\ProfilerInterface

getResultPrototype()

Returns: null|\Result

getStatementPrototype()

Get statement prototype

Returns: null|\Statement

registerConnection()

Register connection

Parameter Name Type Description
$connection \Connection

Returns: self Provides a fluent interface

registerResultPrototype()

Register result prototype

Parameter Name Type Description
$resultPrototype \Result

Returns:

registerStatementPrototype()

Register statement prototype

Parameter Name Type Description
$statementPrototype \Statement

Returns:

setProfiler()

Parameter Name Type Description
$profiler \Profiler\ProfilerInterface

Returns: self Provides a fluent interface

Top