PHP 클래스 Opsway\Doctrine\DBAL\Types\TsVector

https://gist.github.com/3129096
저자: Richard Fullmer ([email protected])
상속: extends Doctrine\DBAL\Types\Type
파일 보기 프로젝트 열기: opsway/doctrine-dbal-postgresql

공개 메소드들

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