PHP Класс Opsway\Doctrine\DBAL\Types\TsVector

https://gist.github.com/3129096
Автор: Richard Fullmer ([email protected])
Наследование: extends Doctrine\DBAL\Types\Type
Показать файл Открыть проект

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

Метод Описание
canRequireSQLConversion ( )
convertToDatabaseValue ( mixed $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform ) : mixed Converts a value from its PHP representation to its database representation of this type.
convertToDatabaseValueSQL ( string $sqlExpr, Doctrine\DBAL\Platforms\AbstractPlatform $platform ) : string Modifies the SQL expression (identifier, parameter) to convert to a database value.
convertToPHPValue ( mixed $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform ) : mixed Converts a value from its database representation to its PHP representation of this type.
convertToPHPValueSQL ( string $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform ) : string Modifies the SQL expression (identifier, parameter) to convert to a PHP value.
getName ( )
getSQLDeclaration ( array $fieldDeclaration, Doctrine\DBAL\Platforms\AbstractPlatform $platform )

Описание методов

canRequireSQLConversion() публичный Метод

convertToDatabaseValue() публичный Метод

Converts a value from its PHP representation to its database representation of this type.
public convertToDatabaseValue ( mixed $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform ) : mixed
$value mixed The value to convert.
$platform Doctrine\DBAL\Platforms\AbstractPlatform The currently used database platform.
Результат mixed The database representation of the value.

convertToDatabaseValueSQL() публичный Метод

Modifies the SQL expression (identifier, parameter) to convert to a database value.
public convertToDatabaseValueSQL ( string $sqlExpr, Doctrine\DBAL\Platforms\AbstractPlatform $platform ) : string
$sqlExpr string
$platform Doctrine\DBAL\Platforms\AbstractPlatform
Результат string

convertToPHPValue() публичный Метод

Converts a value from its database representation to its PHP representation of this type.
public convertToPHPValue ( mixed $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform ) : mixed
$value mixed The value to convert.
$platform Doctrine\DBAL\Platforms\AbstractPlatform The currently used database platform.
Результат mixed The PHP representation of the value.

convertToPHPValueSQL() публичный Метод

Modifies the SQL expression (identifier, parameter) to convert to a PHP value.
public convertToPHPValueSQL ( string $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform ) : string
$value string
$platform Doctrine\DBAL\Platforms\AbstractPlatform
Результат string

getName() публичный Метод

public getName ( )

getSQLDeclaration() публичный Метод

public getSQLDeclaration ( array $fieldDeclaration, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
$fieldDeclaration array
$platform Doctrine\DBAL\Platforms\AbstractPlatform