PHP 클래스 CrEOF\Spatial\DBAL\Platform\AbstractPlatform

저자: Derek J. Lambert ([email protected])
상속: implements CrEOF\Spatial\DBAL\Platform\PlatformInterface
파일 보기 프로젝트 열기: creof/doctrine2-spatial 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
newObjectFromValue ( CrEOF\Spatial\DBAL\Types\AbstractSpatialType $type, array $value ) : CrEOF\Spatial\PHP\Types\Geometry\GeometryInterface Create spatial object from parsed value

메소드 상세

convertBinaryToPHPValue() 공개 메소드

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

convertStringToPHPValue() 공개 메소드

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

convertToDatabaseValue() 공개 메소드

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
리턴 string

getMappedDatabaseTypes() 공개 메소드

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
리턴 string[]