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

description
부터: 3.1
상속: extends TSqlMapXmlConfigBuilder
파일 보기 프로젝트 열기: pradosoft/prado 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( TSqlMapXmlConfiguration $xmlConfig )
configure ( $filename ) Configure an XML mapping.

보호된 메소드들

메소드 설명
applyInlineParameterMap ( $statement, $sqlStatement, $node ) Extract inline parameter maps.
createInsertStatement ( $node ) : TSqlMapInsert Create new insert statement from xml node.
createParameterMap ( $node ) : TParameterMap Create a new parameter map from xml node.
createResultMap ( $node ) : TResultMap Create a new result map and its associated result properties, disciminiator and sub maps.
getConfigFile ( )
loadCacheModel ( $node ) Load cache models from xml mapping.
loadDeleteTag ( $node ) Load delete statement from xml mapping.
loadFlushInterval ( $cacheModel, $node ) Load the flush interval
loadFlushOnCache ( $cacheModel, $parent, $node ) Load the flush on cache properties.
loadInsertTag ( $node ) Load insert statement from xml mapping.
loadParameterMap ( $node ) Load parameter map from xml.
loadProcedureTag ( $node ) Load procedure statement from xml mapping.
loadResultMap ( $node ) Load the result maps.
loadSelectKeyTag ( $insert, $node ) Load the selectKey statement from xml mapping.
loadSelectTag ( $node ) Load select statement from xml mapping.
loadStatementTag ( $node ) Load statement mapping from xml configuration file.
loadUpdateTag ( $node ) Load update statement from xml mapping.
prepareSql ( $statement, $sqlStatement, $node ) Prepare the sql text (may extend to dynamic sql).
processSqlStatement ( $statement, $node ) Load extended SQL statements if application. Replaces global properties in the sql text. Extracts inline parameter maps.
registerCacheTriggers ( ) Attach CacheModel to statement and register trigger statements for cache models

메소드 상세

__construct() 공개 메소드

public __construct ( TSqlMapXmlConfiguration $xmlConfig )
$xmlConfig TSqlMapXmlConfiguration

applyInlineParameterMap() 보호된 메소드

Extract inline parameter maps.
protected applyInlineParameterMap ( $statement, $sqlStatement, $node )

configure() 공개 메소드

Configure an XML mapping.
public configure ( $filename )

createInsertStatement() 보호된 메소드

Create new insert statement from xml node.
protected createInsertStatement ( $node ) : TSqlMapInsert
리턴 TSqlMapInsert insert statement.

createParameterMap() 보호된 메소드

Create a new parameter map from xml node.
protected createParameterMap ( $node ) : TParameterMap
리턴 TParameterMap new parameter mapping.

createResultMap() 보호된 메소드

Create a new result map and its associated result properties, disciminiator and sub maps.
protected createResultMap ( $node ) : TResultMap
리턴 TResultMap SqlMap result mapping.

getConfigFile() 보호된 메소드

protected getConfigFile ( )

loadCacheModel() 보호된 메소드

Load cache models from xml mapping.
protected loadCacheModel ( $node )

loadDeleteTag() 보호된 메소드

Load delete statement from xml mapping.
protected loadDeleteTag ( $node )

loadFlushInterval() 보호된 메소드

Load the flush interval
protected loadFlushInterval ( $cacheModel, $node )

loadFlushOnCache() 보호된 메소드

Load the flush on cache properties.
protected loadFlushOnCache ( $cacheModel, $parent, $node )

loadInsertTag() 보호된 메소드

Load insert statement from xml mapping.
protected loadInsertTag ( $node )

loadParameterMap() 보호된 메소드

Load parameter map from xml.
protected loadParameterMap ( $node )

loadProcedureTag() 보호된 메소드

Load procedure statement from xml mapping.
protected loadProcedureTag ( $node )

loadResultMap() 보호된 메소드

Load the result maps.
protected loadResultMap ( $node )

loadSelectKeyTag() 보호된 메소드

Load the selectKey statement from xml mapping.
protected loadSelectKeyTag ( $insert, $node )

loadSelectTag() 보호된 메소드

Load select statement from xml mapping.
protected loadSelectTag ( $node )

loadStatementTag() 보호된 메소드

Load statement mapping from xml configuration file.
protected loadStatementTag ( $node )

loadUpdateTag() 보호된 메소드

Load update statement from xml mapping.
protected loadUpdateTag ( $node )

prepareSql() 보호된 메소드

Prepare the sql text (may extend to dynamic sql).
protected prepareSql ( $statement, $sqlStatement, $node )

processSqlStatement() 보호된 메소드

Load extended SQL statements if application. Replaces global properties in the sql text. Extracts inline parameter maps.
protected processSqlStatement ( $statement, $node )

registerCacheTriggers() 보호된 메소드

Attach CacheModel to statement and register trigger statements for cache models
protected registerCacheTriggers ( )