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

Public Member Functions

 setSubject ($subject)
 
Parameters
$subject
Returns
self

 
 setTypeDecorator ($type, PlatformDecoratorInterface $decorator)
 
 getTypeDecorator ($subject)
 
 getDecorators ()
 
 prepareStatement (AdapterInterface $adapter, StatementContainerInterface $statementContainer)
 
Parameters
AdapterInterface$adapter
StatementContainerInterface$statementContainer
Returns
void

 
 getSqlString (PlatformInterface $adapterPlatform=null)
 Get SQL string for statement.
Parameters
null | PlatformInterface$adapterPlatform
Returns
string

 

Protected Attributes

 $subject
 
 $decorators = []
 

Member Function Documentation

getDecorators ( )
Returns
array|PlatformDecoratorInterface[]
getSqlString ( PlatformInterface  $adapterPlatform = null)

Get SQL string for statement.

Parameters
null | PlatformInterface$adapterPlatform
Returns
string

Exceptions
Exception\RuntimeException

Implements SqlInterface.

getTypeDecorator (   $subject)
Parameters
PreparableSqlInterface | SqlInterface$subject
Returns
PlatformDecoratorInterface|PreparableSqlInterface|SqlInterface
prepareStatement ( AdapterInterface  $adapter,
StatementContainerInterface  $statementContainer 
)

Parameters
AdapterInterface$adapter
StatementContainerInterface$statementContainer
Returns
void

Exceptions
Exception\RuntimeException

Implements PreparableSqlInterface.

setSubject (   $subject)

Parameters
$subject
Returns
self

Implements PlatformDecoratorInterface.

setTypeDecorator (   $type,
PlatformDecoratorInterface  $decorator 
)
Parameters
string$type
PlatformDecoratorInterface$decorator
Returns
void

Member Data Documentation

$decorators = []
protected
$subject
protected