Class TSqlMapXmlMappingConfiguration
Loads the statements, result maps, parameters maps from xml configuration.
description
- TSqlMapXmlConfigBuilder
-
TSqlMapXmlMappingConfiguration
Package: System\Data\SqlMap\Configuration
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Wei Zhuo <weizho[at]gmail[dot]com>
Since: 3.1
Located at Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Wei Zhuo <weizho[at]gmail[dot]com>
Since: 3.1
Located at Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php
public
|
|
protected
string
|
|
public
|
|
protected
|
|
protected
|
#
createResultMap( SimpleXmlElement $node )
Create a new result map and its associated result properties, disciminiator and sub maps. |
protected
|
|
protected
|
|
protected
|
|
protected
|
#
processSqlStatement(
Load extended SQL statements if application. Replaces global properties in the sql text. Extracts inline parameter maps. |
protected
|
#
applyInlineParameterMap(
Extract inline parameter maps. |
protected
|
#
prepareSql(
Prepare the sql text (may extend to dynamic sql). |
protected
|
|
protected
|
|
protected
|
|
protected
|
#
loadSelectKeyTag( SimpleXmlElement $insert, mixed $node )
Load the selectKey statement from xml mapping. |
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
#
loadFlushInterval(
Load the flush interval |
protected
|
#
loadFlushOnCache(
Load the flush on cache properties. |
protected
|
#
registerCacheTriggers( )
Attach CacheModel to statement and register trigger statements for cache models |
createObjectFromNode(),
getAbsoluteFilePath(),
getElementByIdValue(),
loadXmlDocument(),
setObjectPropFromNode()
|
string |
SIMPLE_MARK |
'$' |
#
Regular expressions for escaping simple/inline parameter symbols |
string |
INLINE_SYMBOL |
'#' |
|
string |
ESCAPED_SIMPLE_MARK_REGEXP |
'/\$\$/' |
|
string |
ESCAPED_INLINE_SYMBOL_REGEXP |
'/\#\#/' |
|
string |
SIMPLE_PLACEHOLDER |
'`!!`' |
|
string |
INLINE_PLACEHOLDER |
'`!!!`' |