Zend\Db\Adapter\Driver\Mysqli\Mysqli
Synopsis
class Mysqli
implements
DriverInterface,ProfilerAwareInterface
{
- // members
- protected Connection $connection;
- protected Statement $statementPrototype;
- protected Result $resultPrototype;
- protected ProfilerInterface $profiler;
- protected array $options;
- // methods
- public void __construct()
- public Mysqli setProfiler()
- public ProfilerInterface getProfiler()
- public Mysqli registerConnection()
- public void registerStatementPrototype()
- public null|Statement getStatementPrototype()
- public void registerResultPrototype()
- public null|Result getResultPrototype()
- public string getDatabasePlatformName()
- public void checkEnvironment()
- public Connection getConnection()
- public Statement createStatement()
- public Result createResult()
- public array getPrepareType()
- public string formatParameterName()
- public mixed getLastGeneratedValue()
Hierarchy
Tasks
Line | Task |
---|---|
190 | Resource tracking |
Constants
Name | Value |
---|---|
PARAMETERIZATION_POSITIONAL | 'positional' |
PARAMETERIZATION_NAMED | 'named' |
NAME_FORMAT_CAMELCASE | 'camelCase' |
NAME_FORMAT_NATURAL | 'natural' |
Members
protected
- $connection — Zend\Db\Adapter\Driver\Mysqli\Connection
- $options — array
- $profiler — Zend\Db\Adapter\Driver\Mysqli\Profiler\ProfilerInterface
- $resultPrototype — Zend\Db\Adapter\Driver\Mysqli\Result
- $statementPrototype — Zend\Db\Adapter\Driver\Mysqli\Statement
Methods
public
- __construct() — Constructor
- checkEnvironment() — Check environment
- createResult() — Create result
- createStatement() — Create statement
- formatParameterName() — Format parameter name
- getConnection() — Get connection
- getDatabasePlatformName() — Get database platform name
- getLastGeneratedValue() — Get last generated value
- getPrepareType() — Get prepare type
- getProfiler()
- getResultPrototype()
- getStatementPrototype() — Get statement prototype
- registerConnection() — Register connection
- registerResultPrototype() — Register result prototype
- registerStatementPrototype() — Register statement prototype
- setProfiler()