PHP 인터페이스 Pheasant\Type

파일 보기 프로젝트 열기: lox/pheasant

공개 메소드들

메소드 설명
columnSql ( $column, $platform ) : string Gets the sql for defining the column
equals ( $value1, $value2 ) : boolean Test if two unmarshalled values are equal
marshal ( $value ) : either Convert from a PHP format to a database format
options ( ) : Options Gets the type options
unmarshal ( $value ) : mixed Convert from the database format to a PHP format

메소드 상세

columnSql() 공개 메소드

Gets the sql for defining the column
public columnSql ( $column, $platform ) : string
리턴 string

equals() 공개 메소드

Test if two unmarshalled values are equal
public equals ( $value1, $value2 ) : boolean
리턴 boolean

marshal() 공개 메소드

Convert from a PHP format to a database format
public marshal ( $value ) : either
리턴 either a scalar or a TypedValue

options() 공개 메소드

Gets the type options
public options ( ) : Options
리턴 Options

unmarshal() 공개 메소드

Convert from the database format to a PHP format
public unmarshal ( $value ) : mixed
리턴 mixed