PHP Class Common\Doctrine\Type\EnumBoolType

Deprecation:
Inheritance: extends Doctrine\DBAL\Types\Type
Afficher le fichier Open project: forkcms/forkcms

Méthodes publiques

Méthode Description
convertToDatabaseValue ( boolean $bool, Doctrine\DBAL\Platforms\AbstractPlatform $platform ) : string
convertToPHPValue ( string $enumBool, Doctrine\DBAL\Platforms\AbstractPlatform $platform ) : boolean
getName ( ) : string
getSQLDeclaration ( array $fieldDeclaration, Doctrine\DBAL\Platforms\AbstractPlatform $platform ) : string

Method Details

convertToDatabaseValue() public méthode

public convertToDatabaseValue ( boolean $bool, Doctrine\DBAL\Platforms\AbstractPlatform $platform ) : string
$bool boolean
$platform Doctrine\DBAL\Platforms\AbstractPlatform
Résultat string

convertToPHPValue() public méthode

public convertToPHPValue ( string $enumBool, Doctrine\DBAL\Platforms\AbstractPlatform $platform ) : boolean
$enumBool string
$platform Doctrine\DBAL\Platforms\AbstractPlatform
Résultat boolean

getName() public méthode

public getName ( ) : string
Résultat string

getSQLDeclaration() public méthode

public getSQLDeclaration ( array $fieldDeclaration, Doctrine\DBAL\Platforms\AbstractPlatform $platform ) : string
$fieldDeclaration array
$platform Doctrine\DBAL\Platforms\AbstractPlatform
Résultat string