PHP Класс CrEOF\Spatial\DBAL\Platform\AbstractPlatform

Автор: Derek J. Lambert ([email protected])
Наследование: implements CrEOF\Spatial\DBAL\Platform\PlatformInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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[]