PHP Class CrEOF\Spatial\DBAL\Platform\AbstractPlatform

Author: Derek J. Lambert ([email protected])
Inheritance: implements CrEOF\Spatial\DBAL\Platform\PlatformInterface
Datei anzeigen Open project: creof/doctrine2-spatial Class Usage Examples

Public Methods

Method Description
convertBinaryToPHPValue ( CrEOF\Spatial\DBAL\Types\AbstractSpatialType $type, string $sqlExpr ) : CrEOF\Spatial\PHP\Types\Geometry\GeometryInterface
convertStringToPHPValue ( CrEOF\Spatial\DBAL\Types\AbstractSpatialType $type, string $sqlExpr ) : CrEOF\Spatial\PHP\Types\Geometry\GeometryInterface
convertToDatabaseValue ( CrEOF\Spatial\DBAL\Types\AbstractSpatialType $type, CrEOF\Spatial\PHP\Types\Geometry\GeometryInterface $value ) : string
getMappedDatabaseTypes ( CrEOF\Spatial\DBAL\Types\AbstractSpatialType $type ) : string[] Get an array of database types that map to this Doctrine type.

Private Methods

Method Description
newObjectFromValue ( CrEOF\Spatial\DBAL\Types\AbstractSpatialType $type, array $value ) : CrEOF\Spatial\PHP\Types\Geometry\GeometryInterface Create spatial object from parsed value

Method Details

convertBinaryToPHPValue() public method

public convertBinaryToPHPValue ( CrEOF\Spatial\DBAL\Types\AbstractSpatialType $type, string $sqlExpr ) : CrEOF\Spatial\PHP\Types\Geometry\GeometryInterface
$type CrEOF\Spatial\DBAL\Types\AbstractSpatialType
$sqlExpr string
return CrEOF\Spatial\PHP\Types\Geometry\GeometryInterface

convertStringToPHPValue() public method

public convertStringToPHPValue ( CrEOF\Spatial\DBAL\Types\AbstractSpatialType $type, string $sqlExpr ) : CrEOF\Spatial\PHP\Types\Geometry\GeometryInterface
$type CrEOF\Spatial\DBAL\Types\AbstractSpatialType
$sqlExpr string
return CrEOF\Spatial\PHP\Types\Geometry\GeometryInterface

convertToDatabaseValue() public method

public convertToDatabaseValue ( CrEOF\Spatial\DBAL\Types\AbstractSpatialType $type, CrEOF\Spatial\PHP\Types\Geometry\GeometryInterface $value ) : string
$type CrEOF\Spatial\DBAL\Types\AbstractSpatialType
$value CrEOF\Spatial\PHP\Types\Geometry\GeometryInterface
return string

getMappedDatabaseTypes() public method

Get an array of database types that map to this Doctrine type.
public getMappedDatabaseTypes ( CrEOF\Spatial\DBAL\Types\AbstractSpatialType $type ) : string[]
$type CrEOF\Spatial\DBAL\Types\AbstractSpatialType
return string[]