PHP Class Sonata\Test\Component\Currency\Types\MockPlatform

Inheritance: extends Doctrine\DBAL\Platforms\AbstractPlatform
Show file Open project: sonata-project/ecommerce

Public Methods

Method Description
_getCommonIntegerTypeDeclarationSQL ( array $columnDef )
getBigIntTypeDeclarationSQL ( array $columnDef )
getBlobTypeDeclarationSQL ( array $field ) Gets the SQL Snippet used to declare a BLOB column type.
getBooleanTypeDeclarationSQL ( array $columnDef )
getClobTypeDeclarationSQL ( array $field )
getIntegerTypeDeclarationSQL ( array $columnDef )
getName ( )
getSmallIntTypeDeclarationSQL ( array $columnDef )
getVarcharDefaultLength ( )
getVarcharTypeDeclarationSQL ( array $field )

Protected Methods

Method Description
getVarcharTypeDeclarationSQLSnippet ( $length, $fixed )
initializeDoctrineTypeMappings ( )

Method Details

_getCommonIntegerTypeDeclarationSQL() public method

public _getCommonIntegerTypeDeclarationSQL ( array $columnDef )
$columnDef array

getBigIntTypeDeclarationSQL() public method

public getBigIntTypeDeclarationSQL ( array $columnDef )
$columnDef array

getBlobTypeDeclarationSQL() public method

Gets the SQL Snippet used to declare a BLOB column type.
public getBlobTypeDeclarationSQL ( array $field )
$field array

getBooleanTypeDeclarationSQL() public method

public getBooleanTypeDeclarationSQL ( array $columnDef )
$columnDef array

getClobTypeDeclarationSQL() public method

public getClobTypeDeclarationSQL ( array $field )
$field array

getIntegerTypeDeclarationSQL() public method

public getIntegerTypeDeclarationSQL ( array $columnDef )
$columnDef array

getName() public method

public getName ( )

getSmallIntTypeDeclarationSQL() public method

public getSmallIntTypeDeclarationSQL ( array $columnDef )
$columnDef array

getVarcharDefaultLength() public method

getVarcharTypeDeclarationSQL() public method

public getVarcharTypeDeclarationSQL ( array $field )
$field array

getVarcharTypeDeclarationSQLSnippet() protected method

protected getVarcharTypeDeclarationSQLSnippet ( $length, $fixed )

initializeDoctrineTypeMappings() protected method