PHP 클래스 Prado\Data\SqlMap\Configuration\TParameterProperty

The {@link NullValue setNullValue()} attribute can be set to any valid value (based on property type). The {@link NullValue setNullValue()} attribute is used to specify an inbound null value replacement. What this means is that when the value is detected in the object property, a NULL will be written to the database (the opposite behavior of an inbound null value replacement). This allows you to use a magic null number in your application for types that do not support null values (such as int, double, float). When these types of properties contain a matching null value (for example, say, -9999), a NULL will be written to the database instead of the value.
부터: 3.1
상속: extends Prado\TComponent
파일 보기 프로젝트 열기: pradosoft/prado 1 사용 예제들

공개 메소드들

메소드 설명
__sleep ( )
getColumn ( ) : string
getDbType ( ) : string
getNullValue ( ) : mixed
getProperty ( ) : string
getType ( ) : string
getTypeHandler ( ) : string
setColumn ( $value )
setDbType ( $value )
setNullValue ( $value ) The nullValue attribute is used to specify an outgoing null value replacement.
setProperty ( $value )
setType ( $value )
setTypeHandler ( $value )

메소드 상세

__sleep() 공개 메소드

public __sleep ( )

getColumn() 공개 메소드

public getColumn ( ) : string
리턴 string name of a parameter to be used in the SQL statement.

getDbType() 공개 메소드

public getDbType ( ) : string
리턴 string the database column type of the parameter to be set by this property.

getNullValue() 공개 메소드

public getNullValue ( ) : mixed
리턴 mixed null value replacement

getProperty() 공개 메소드

public getProperty ( ) : string
리턴 string name of a property of the parameter object.

getType() 공개 메소드

public getType ( ) : string
리턴 string type of the parameter's property

getTypeHandler() 공개 메소드

public getTypeHandler ( ) : string
리턴 string class name of a custom type handler.

setColumn() 공개 메소드

public setColumn ( $value )

setDbType() 공개 메소드

public setDbType ( $value )

setNullValue() 공개 메소드

The nullValue attribute is used to specify an outgoing null value replacement.
public setNullValue ( $value )

setProperty() 공개 메소드

public setProperty ( $value )

setType() 공개 메소드

public setType ( $value )

setTypeHandler() 공개 메소드

public setTypeHandler ( $value )