PHP Класс Prado\Data\SqlMap\Configuration\TSqlMapXmlMappingConfiguration

description
С версии: 3.1
Наследование: extends TSqlMapXmlConfigBuilder
Показать файл Открыть проект Примеры использования класса

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

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