PHP Интерфейс Pheasant\Type

Показать файл Открыть проект

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

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