PHP Class Sonata\Component\Currency\CurrencyDoctrineType

Author: Hugo Briand ([email protected])
Inheritance: extends Doctrine\DBAL\Types\StringType
Show file Open project: sonata-project/ecommerce

Public Methods

Method Description
convertToDatabaseValue ( $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
convertToPHPValue ( $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
getDefaultLength ( Doctrine\DBAL\Platforms\AbstractPlatform $platform )
getName ( )
getSQLDeclaration ( array $fieldDeclaration, Doctrine\DBAL\Platforms\AbstractPlatform $platform )

Method Details

convertToDatabaseValue() public method

public convertToDatabaseValue ( $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
$platform Doctrine\DBAL\Platforms\AbstractPlatform

convertToPHPValue() public method

public convertToPHPValue ( $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
$platform Doctrine\DBAL\Platforms\AbstractPlatform

getDefaultLength() public method

public getDefaultLength ( Doctrine\DBAL\Platforms\AbstractPlatform $platform )
$platform Doctrine\DBAL\Platforms\AbstractPlatform

getName() public method

public getName ( )

getSQLDeclaration() public method

public getSQLDeclaration ( array $fieldDeclaration, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
$fieldDeclaration array
$platform Doctrine\DBAL\Platforms\AbstractPlatform