PHP Class Sonata\Component\Currency\CurrencyDoctrineType

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

Méthodes publiques

Méthode 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 méthode

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

convertToPHPValue() public méthode

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

getDefaultLength() public méthode

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

getName() public méthode

public getName ( )

getSQLDeclaration() public méthode

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