PHP Class Newscoop\NewscoopBundle\ORM\PointType

Inheritance: extends Doctrine\DBAL\Types\Type
Datei anzeigen Open project: sourcefabric/newscoop

Public Methods

Method Description
convertToDatabaseValue ( $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
convertToPHPValue ( $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
getName ( ) : string Gets the name of this type.
getSQLDeclaration ( array $fieldDeclaration, Doctrine\DBAL\Platforms\AbstractPlatform $platform ) Gets the SQL declaration snippet for a field of this type.

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

getName() public method

Gets the name of this type.
public getName ( ) : string
return string

getSQLDeclaration() public method

Gets the SQL declaration snippet for a field of this type.
public getSQLDeclaration ( array $fieldDeclaration, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
$fieldDeclaration array The field declaration.
$platform Doctrine\DBAL\Platforms\AbstractPlatform The currently used database platform.