Zend Framework
3.0
|
Public Member Functions | |
__construct ($driver, Platform\PlatformInterface $platform=null, ResultSet\ResultSetInterface $queryResultPrototype=null, Profiler\ProfilerInterface $profiler=null) | |
setProfiler (Profiler\ProfilerInterface $profiler) | |
getProfiler () | |
getDriver () | |
getDriver() | |
getPlatform () | |
getQueryResultSetPrototype () | |
getCurrentSchema () | |
query ($sql, $parametersOrQueryMode=self::QUERY_MODE_PREPARE, ResultSet\ResultSetInterface $resultPrototype=null) | |
query() is a convenience function | |
createStatement ($initialSql=null, $initialParameters=null) | |
Create statement. | |
getHelpers () | |
__get ($name) | |
Public Member Functions inherited from ProfilerAwareInterface | |
setProfiler (ProfilerInterface $profiler) | |
Public Attributes | |
const | QUERY_MODE_EXECUTE = 'execute' |
Query Mode Constants. | |
const | QUERY_MODE_PREPARE = 'prepare' |
const | PREPARE_TYPE_POSITIONAL = 'positional' |
Prepare Type Constants. | |
const | PREPARE_TYPE_NAMED = 'named' |
const | FUNCTION_FORMAT_PARAMETER_NAME = 'formatParameterName' |
const | FUNCTION_QUOTE_IDENTIFIER = 'quoteIdentifier' |
const | FUNCTION_QUOTE_VALUE = 'quoteValue' |
const | VALUE_QUOTE_SEPARATOR = 'quoteSeparator' |
Protected Member Functions | |
createDriver ($parameters) | |
createPlatform (array $parameters) | |
createProfiler ($parameters) | |
createDriverFromParameters (array $parameters) | |
createPlatformFromDriver (Driver\DriverInterface $driver) | |
Protected Attributes | |
$driver = null | |
$platform = null | |
$profiler = null | |
$queryResultSetPrototype = null | |
$lastPreparedStatement = null | |
__construct | ( | $driver, | |
Platform\PlatformInterface | $platform = null , |
||
ResultSet\ResultSetInterface | $queryResultPrototype = null , |
||
Profiler\ProfilerInterface | $profiler = null |
||
) |
Driver\DriverInterface | array | $driver | |
Platform\PlatformInterface | $platform | |
ResultSet\ResultSetInterface | $queryResultPrototype | |
Profiler\ProfilerInterface | $profiler |
Exception\InvalidArgumentException |
__get | ( | $name | ) |
|
protected |
array | $parameters |
\InvalidArgumentException | |
Exception\InvalidArgumentException |
|
protected |
array | $parameters |
\InvalidArgumentException | |
Exception\InvalidArgumentException |
|
protected |
array | $parameters |
|
protected |
|
protected |
createStatement | ( | $initialSql = null , |
|
$initialParameters = null |
|||
) |
getCurrentSchema | ( | ) |
getDriver | ( | ) |
getHelpers | ( | ) |
getPlatform | ( | ) |
Implements AdapterInterface.
getProfiler | ( | ) |
getQueryResultSetPrototype | ( | ) |
query | ( | $sql, | |
$parametersOrQueryMode = self::QUERY_MODE_PREPARE , |
|||
ResultSet\ResultSetInterface | $resultPrototype = null |
||
) |
query() is a convenience function
string | $sql | |
string | array | ParameterContainer | $parametersOrQueryMode | |
\Zend\Db\ResultSet\ResultSetInterface | $resultPrototype |
Exception\InvalidArgumentException |
setProfiler | ( | Profiler\ProfilerInterface | $profiler | ) |
Profiler\ProfilerInterface | $profiler |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
const FUNCTION_FORMAT_PARAMETER_NAME = 'formatParameterName' |
const FUNCTION_QUOTE_IDENTIFIER = 'quoteIdentifier' |
const FUNCTION_QUOTE_VALUE = 'quoteValue' |
const PREPARE_TYPE_NAMED = 'named' |
const PREPARE_TYPE_POSITIONAL = 'positional' |
Prepare Type Constants.
const QUERY_MODE_EXECUTE = 'execute' |
Query Mode Constants.
const QUERY_MODE_PREPARE = 'prepare' |
const VALUE_QUOTE_SEPARATOR = 'quoteSeparator' |