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

Mapped Statements can hold any SQL statement and can use Parameter Maps and Result Maps for input and output. The element is a general "catch all" element that can be used for any type of SQL statement. Generally it is a good idea to use one of the more specific statement-type elements. The more specific elements provided better error-checking and even more functionality. (For example, the insert statement can return a database-generated key.)
부터: 3.1
상속: extends Prado\TComponent
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
__sleep ( )
createInstanceOfListClass ( $registry ) : ArrayAccess
createInstanceOfResultClass ( $registry, $row ) : mixed Create a new instance of result class.
getCache ( ) : TSqlMapCacheModel
getCacheModel ( ) : string
getExtends ( ) : string
getID ( ) : string
getListClass ( ) : string
getParameterClass ( ) : string
getParameterMap ( ) : string
getResultClass ( ) : string
getResultMap ( ) : string
getSqlText ( ) : TStaticSql
initialize ( $manager )
parameterMap ( ) : TParameterMap
resultMap ( ) : TResultMap
setCache ( $value )
setCacheModel ( $value )
setExtends ( $value )
setID ( $value )
setInlineParameterMap ( $map )
setListClass ( $value ) An \ArrayAccess class can be specified to handle the type of objects in the collection.
setParameterClass ( $value ) If a {@link ParameterMap setParameterMap()} property is not specified, you may specify a ParameterClass instead and use inline parameters.
setParameterMap ( $value ) A Parameter Map defines an ordered list of values that match up with the "?" placeholders of a standard, parameterized query statement.
setResultClass ( $value ) If a {@link ResultMap setResultMap()} is not specified, you may specify a ResultClass instead. The value of the ResultClass property can be the name of a PHP class or primitives like integer, string, or array. The class specified will be automatically mapped to the columns in the result, based on the result metadata.
setResultMap ( $value ) A Result Map lets you control how data is extracted from the result of a query, and how the columns are mapped to object properties.
setSqlText ( $value )

보호된 메소드들

메소드 설명
createInstanceOf ( $registry, $type, $row = null ) : mixed Create a new instance of a given type.

메소드 상세

__sleep() 공개 메소드

public __sleep ( )

createInstanceOf() 보호된 메소드

Create a new instance of a given type.
protected createInstanceOf ( $registry, $type, $row = null ) : mixed
리턴 mixed result object.

createInstanceOfListClass() 공개 메소드

public createInstanceOfListClass ( $registry ) : ArrayAccess
리턴 ArrayAccess new instance of list class.

createInstanceOfResultClass() 공개 메소드

Create a new instance of result class.
public createInstanceOfResultClass ( $registry, $row ) : mixed
리턴 mixed result object.

getCache() 공개 메소드

public getCache ( ) : TSqlMapCacheModel
리턴 TSqlMapCacheModel cache implementation instance for this statement.

getCacheModel() 공개 메소드

public getCacheModel ( ) : string
리턴 string cache mode name.

getExtends() 공개 메소드

public getExtends ( ) : string
리턴 string another statement element name.

getID() 공개 메소드

public getID ( ) : string
리턴 string name for this statement, unique to each sql map manager.

getListClass() 공개 메소드

public getListClass ( ) : string
리턴 string name of a PHP class that implements \ArrayAccess.

getParameterClass() 공개 메소드

public getParameterClass ( ) : string
리턴 string parameter class name.

getParameterMap() 공개 메소드

public getParameterMap ( ) : string
리턴 string name of a parameter map.

getResultClass() 공개 메소드

public getResultClass ( ) : string
리턴 string result class name.

getResultMap() 공개 메소드

public getResultMap ( ) : string
리턴 string result map name.

getSqlText() 공개 메소드

public getSqlText ( ) : TStaticSql
리턴 TStaticSql sql text container.

initialize() 공개 메소드

public initialize ( $manager )

parameterMap() 공개 메소드

public parameterMap ( ) : TParameterMap
리턴 TParameterMap the parameter map corresponding to the {@link ParameterMap getParameterMap()} property.

resultMap() 공개 메소드

public resultMap ( ) : TResultMap
리턴 TResultMap the result map corresponding to the {@link ResultMap getResultMap()} property.

setCache() 공개 메소드

public setCache ( $value )

setCacheModel() 공개 메소드

public setCacheModel ( $value )

setExtends() 공개 메소드

public setExtends ( $value )

setID() 공개 메소드

public setID ( $value )

setInlineParameterMap() 공개 메소드

public setInlineParameterMap ( $map )

setListClass() 공개 메소드

An \ArrayAccess class can be specified to handle the type of objects in the collection.
public setListClass ( $value )

setParameterClass() 공개 메소드

The value of the parameterClass attribute can be any existing PHP class name.
public setParameterClass ( $value )

setParameterMap() 공개 메소드

A Parameter Map defines an ordered list of values that match up with the "?" placeholders of a standard, parameterized query statement.
public setParameterMap ( $value )

setResultClass() 공개 메소드

If a {@link ResultMap setResultMap()} is not specified, you may specify a ResultClass instead. The value of the ResultClass property can be the name of a PHP class or primitives like integer, string, or array. The class specified will be automatically mapped to the columns in the result, based on the result metadata.
public setResultClass ( $value )

setResultMap() 공개 메소드

A Result Map lets you control how data is extracted from the result of a query, and how the columns are mapped to object properties.
public setResultMap ( $value )

setSqlText() 공개 메소드

public setSqlText ( $value )