Zend Framework  3.0
Public Member Functions | Protected Attributes | List of all members
Mysql Class Reference

Public Member Functions

 __construct ($driver=null)
 
 setDriver ($driver)
 
 getName ()
 Get name.
Returns
string

 
 quoteIdentifierChain ($identifierChain)
 Quote identifier chain.
Parameters
string|string[]$identifierChain
Returns
string

 
 quoteValue ($value)
 Quote value.Will throw a notice when used in a workflow that can be considered "unsafe"
Parameters
string$value
Returns
string

 
 quoteTrustedValue ($value)
 Quote Trusted Value.The ability to quote values without notices
Parameters
$value
Returns
mixed

 
- Public Member Functions inherited from AbstractPlatform
 quoteIdentifierInFragment ($identifier, array $safeWords=[])
 Quote identifier in fragment.
Parameters
string$identifier
array$additionalSafeWords
Returns
string

 
 quoteIdentifier ($identifier)
 Quote identifier.
Parameters
string$identifier
Returns
string

 
 quoteIdentifierChain ($identifierChain)
 Quote identifier chain.
Parameters
string|string[]$identifierChain
Returns
string

 
 getQuoteIdentifierSymbol ()
 Get quote identifier symbol.
Returns
string

 
 getQuoteValueSymbol ()
 Get quote value symbol.
Returns
string

 
 quoteValue ($value)
 Quote value.Will throw a notice when used in a workflow that can be considered "unsafe"
Parameters
string$value
Returns
string

 
 quoteTrustedValue ($value)
 Quote Trusted Value.The ability to quote values without notices
Parameters
$value
Returns
mixed

 
 quoteValueList ($valueList)
 Quote value list.
Parameters
string|string[]$valueList
Returns
string

 
 getIdentifierSeparator ()
 Get identifier separator.
Returns
string

 

Protected Attributes

 $quoteIdentifier = ['`', '`']
 
 
 $quoteIdentifierTo = '``'
 
 
 $resource = null
 
- Protected Attributes inherited from AbstractPlatform
 $quoteIdentifier = ['"', '"']
 
 $quoteIdentifierTo = '\''
 
 $quoteIdentifiers = true
 

Constructor & Destructor Documentation

__construct (   $driver = null)
Parameters
null | \Zend\Db\Adapter\Driver\Mysqli\Mysqli | \Zend\Db\Adapter\Driver\Pdo\Pdo | \mysqli | \PDO$driver

Member Function Documentation

getName ( )

Get name.

Returns
string

Implements PlatformInterface.

quoteIdentifierChain (   $identifierChain)

Quote identifier chain.

Parameters
string|string[]$identifierChain
Returns
string

Implements PlatformInterface.

quoteTrustedValue (   $value)

Quote Trusted Value.The ability to quote values without notices

Parameters
$value
Returns
mixed

Implements PlatformInterface.

quoteValue (   $value)

Quote value.Will throw a notice when used in a workflow that can be considered "unsafe"

Parameters
string$value
Returns
string

Implements PlatformInterface.

setDriver (   $driver)
Parameters
\Zend\Db\Adapter\Driver\Mysqli\Mysqli | \Zend\Db\Adapter\Driver\Pdo\Pdo | \mysqli | \PDO$driver
Exceptions
\Zend\Db\Adapter\Exception\InvalidArgumentException
Returns
self

Member Data Documentation

$quoteIdentifier = ['`', '`']
protected

$quoteIdentifierTo = '``'
protected

$resource = null
protected