Method | Description | |
---|---|---|
__construct ( $resultMap = null ) | Gets the containing result map ID. | |
__sleep ( ) | ||
getColumn ( ) : string | ||
getColumnIndex ( ) : integer | ||
getLazyLoad ( ) : boolean | ||
getNestedResultMap ( ) : |
||
getNullValue ( ) : mixed | ||
getProperty ( ) : string | ||
getPropertyValue ( $registry, $row ) : mixed | Gets the value for the current property, converts to applicable type if necessary. | |
getResultMapping ( ) : string | ||
getSelect ( ) : string | ||
getType ( ) : string | ||
getTypeHandler ( ) : string | ||
instanceOfArrayType ( $target ) : boolean | Returns true if the result property {@link Type getType()} is of \ArrayAccess or that the actual result object is an array or implements \ArrayAccess | |
instanceOfListType ( $target ) : boolean | Returns true if the result property {@link Type getType()} is of TList type or that the actual result object is an instance of TList. | |
setColumn ( $value ) | ||
setColumnIndex ( $value ) | ||
setLazyLoad ( $value ) | ||
setNestedResultMap ( $value ) | ||
setNullValue ( $value ) | ||
setProperty ( $value ) | ||
setResultMapping ( $value ) | ||
setSelect ( $value ) | The select property is used to describe a relationship between objects and to automatically load complex (i.e. user defined) property types. | |
setType ( $value ) | ||
setTypeHandler ( $value ) |
Method | Description | |
---|---|---|
createTypeHandler ( $registry ) : TSqlMapTypeHandler | Create type handler from {@link Type setType()} or {@link TypeHandler setTypeHandler}. | |
getPropertyValueType ( ) : integer | Determines if the type is an instance of \ArrayAccess, TList or an array. | |
getTypedValue ( $registry, $value ) : mixed |
public __construct ( $resultMap = null ) |
protected createTypeHandler ( $registry ) : TSqlMapTypeHandler | ||
return | TSqlMapTypeHandler | type handler. |
public getColumnIndex ( ) : integer | ||
return | integer | index of the column in the ResultSet from which the value will be used to populate the object property |
public getLazyLoad ( ) : boolean | ||
return | boolean | indicate whether or not the select statement's results should be lazy loaded |
public getNestedResultMap ( ) : |
||
return | nested result map. |
public getProperty ( ) : string | ||
return | string | name of a property of the result object that will be set to. |
public getPropertyValue ( $registry, $row ) : mixed | ||
return | mixed | property value. |
protected getPropertyValueType ( ) : integer | ||
return | integer | TResultProperty::LIST_TYPE or TResultProperty::ARRAY_TYPE |
public getResultMapping ( ) : string | ||
return | string | ID of another |
public getTypeHandler ( ) : string | ||
return | string | custom type handler class name (may use namespace). |
protected getTypedValue ( $registry, $value ) : mixed | ||
return | mixed | property value casted to specific type. |
public instanceOfArrayType ( $target ) : boolean | ||
return | boolean | true if the result object is an instance of \ArrayAccess or is an array. |
public instanceOfListType ( $target ) : boolean | ||
return | boolean | true if the result object is an instance of TList |
public setSelect ( $value ) |