package Default
inherited_from \Zend\Db\Sql\Platform\AbstractPlatform

 Methods

__construct()

__construct(\Zend\Db\Adapter\AdapterInterface $adapter) 

Parameters

$adapter

getDecorators()

getDecorators() : array | array<mixed,\Zend\Db\Sql\Platform\PlatformDecoratorInterface>
inherited_from \Zend\Db\Sql\Platform\AbstractPlatform::getDecorators()

Returns

arrayarray<mixed,\Zend\Db\Sql\Platform\PlatformDecoratorInterface>

getDecorators()

getDecorators() : array | array<mixed,\Zend\Db\Sql\Platform\PlatformDecoratorInterface>
Inherited

Returns

arrayarray<mixed,\Zend\Db\Sql\Platform\PlatformDecoratorInterface>

Get SQL string for statement

getSqlString(\Zend\Db\Adapter\Platform\PlatformInterface $adapterPlatform = null
inherited_from \Zend\Db\Sql\Platform\AbstractPlatform::getSqlString()

Parameters

$adapterPlatform

Exceptions

\Zend\Db\Sql\Exception\RuntimeException

Get SQL string for statement

getSqlString(\Zend\Db\Adapter\Platform\PlatformInterface $adapterPlatform = null
Inherited
inherited_from \Zend\Db\Sql\SqlInterface::getSqlString()

Parameters

$adapterPlatform

Exceptions

\Zend\Db\Sql\Exception\RuntimeException

getTypeDecorator()

getTypeDecorator(\Zend\Db\Sql\PreparableSqlInterface|\Zend\Db\Sql\SqlInterface $subject, \Zend\Db\Adapter\AdapterInterface|\Zend\Db\Adapter\Platform\PlatformInterface|null $adapterOrPlatform = null) : \Zend\Db\Sql\Platform\PlatformDecoratorInterface | \Zend\Db\Sql\PreparableSqlInterface | \Zend\Db\Sql\SqlInterface
inherited_from \Zend\Db\Sql\Platform\AbstractPlatform::getTypeDecorator()

Parameters

$subject

\Zend\Db\Sql\PreparableSqlInterface\Zend\Db\Sql\SqlInterface

$adapterOrPlatform

\Zend\Db\Adapter\AdapterInterface\Zend\Db\Adapter\Platform\PlatformInterfacenull

Returns

\Zend\Db\Sql\Platform\PlatformDecoratorInterface\Zend\Db\Sql\PreparableSqlInterface\Zend\Db\Sql\SqlInterface

getTypeDecorator()

getTypeDecorator(\Zend\Db\Sql\PreparableSqlInterface|\Zend\Db\Sql\SqlInterface $subject) : \Zend\Db\Sql\Platform\PlatformDecoratorInterface | \Zend\Db\Sql\PreparableSqlInterface | \Zend\Db\Sql\SqlInterface
Inherited

Parameters

$subject

\Zend\Db\Sql\PreparableSqlInterface\Zend\Db\Sql\SqlInterface

Returns

\Zend\Db\Sql\Platform\PlatformDecoratorInterface\Zend\Db\Sql\PreparableSqlInterface\Zend\Db\Sql\SqlInterface

prepareStatement()

prepareStatement(\Zend\Db\Adapter\AdapterInterface $adapter, \Zend\Db\Adapter\StatementContainerInterface $statementContainer) 
inherited_from \Zend\Db\Sql\Platform\AbstractPlatform::prepareStatement()

Parameters

$adapter

$statementContainer

Exceptions

\Zend\Db\Sql\Exception\RuntimeException

prepareStatement()

prepareStatement(\Zend\Db\Adapter\AdapterInterface $adapter, \Zend\Db\Adapter\StatementContainerInterface $statementContainer) 
Inherited
inherited_from \Zend\Db\Sql\PreparableSqlInterface::prepareStatement()

Parameters

$adapter

$statementContainer

Exceptions

\Zend\Db\Sql\Exception\RuntimeException

setSubject()

setSubject($subject) 
Inherited
inherited_from \Zend\Db\Sql\Platform\PlatformDecoratorInterface::setSubject()

Parameters

$subject

setTypeDecorator()

setTypeDecorator(string $type, \Zend\Db\Sql\Platform\PlatformDecoratorInterface $decorator, \Zend\Db\Adapter\AdapterInterface|\Zend\Db\Adapter\Platform\PlatformInterface $adapterOrPlatform = null
inherited_from \Zend\Db\Sql\Platform\AbstractPlatform::setTypeDecorator()

Parameters

$type

string

$decorator

\Zend\Db\Sql\Platform\PlatformDecoratorInterface

$adapterOrPlatform

\Zend\Db\Adapter\AdapterInterface\Zend\Db\Adapter\Platform\PlatformInterface

setTypeDecorator()

setTypeDecorator(string $type, \Zend\Db\Sql\Platform\PlatformDecoratorInterface $decorator) : void
Inherited

Parameters

$type

string

$decorator

\Zend\Db\Sql\Platform\PlatformDecoratorInterface

getDefaultPlatform()

getDefaultPlatform() : \Zend\Db\Adapter\Platform\PlatformInterface

Exceptions

\Zend\Db\Sql\Exception\RuntimeException

Returns

\Zend\Db\Adapter\Platform\PlatformInterface

resolvePlatform()

resolvePlatform(null|\Zend\Db\Adapter\Platform\PlatformInterface|\Zend\Db\Adapter\AdapterInterface $adapterOrPlatform) : \Zend\Db\Adapter\Platform\PlatformInterface

Parameters

$adapterOrPlatform

null\Zend\Db\Adapter\Platform\PlatformInterface\Zend\Db\Adapter\AdapterInterface

Exceptions

\Zend\Db\Sql\Exception\InvalidArgumentException

Returns

\Zend\Db\Adapter\Platform\PlatformInterface

resolvePlatformName()

resolvePlatformName($adapterOrPlatform) 

Parameters

$adapterOrPlatform

 Properties

 

$adapter

$adapter : \Zend\Db\Adapter\AdapterInterface

Default

null
 

$decorators

$decorators : array<mixed,\Zend\Db\Sql\Platform\PlatformDecoratorInterface>

Default

array()
 

$defaultPlatform

$defaultPlatform : \Zend\Db\Adapter\Platform\PlatformInterface | null

Default

 

$subject

$subject : object | null

Default