TSqlMapXmlMappingConfiguration
__construct
(TSqlMapXmlConfiguration $xmlConfig)
Extract inline parameter maps.
void
applyInlineParameterMap
(
TSqlMapStatement $statement,
string $sqlStatement,
SimpleXmlElement $node)
-
TSqlMapStatement
$statement: statement object.
-
string
$sqlStatement: sql text
-
SimpleXmlElement
$node: statement node.
Configure an XML mapping.
void
configure
(string $filename)
-
string
$filename: xml mapping filename.
Create new insert statement from xml node.
-
SimpleXmlElement
$node: insert node.
Create a new parameter map from xml node.
-
SimpleXmlElement
$node: parameter map node.
Create a new result map and its associated result properties, disciminiator and sub maps.
TResultMap
createResultMap
(
SimpleXmlElement $node)
-
SimpleXmlElement
$node: result map node
Load cache models from xml mapping.
void
loadCacheModel
(SimpleXmlElement $node)
-
SimpleXmlElement
$node: cache node.
Load delete statement from xml mapping.
void
loadDeleteTag
(SimpleXmlElement $node)
-
SimpleXmlElement
$node: delete node.
Load the flush on cache properties.
void
loadFlushOnCache
(
TSqlMapCacheModel $cacheModel,
SimpleXmlElement $parent,
SimpleXmlElement $node)
-
TSqlMapCacheModel
$cacheModel: cache model
-
SimpleXmlElement
$parent: parent node.
-
SimpleXmlElement
$node: flush node.
Load insert statement from xml mapping.
void
loadInsertTag
(SimpleXmlElement $node)
-
SimpleXmlElement
$node: insert node.
Load parameter map from xml.
void
loadParameterMap
(SimpleXmlElement $node)
-
SimpleXmlElement
$node: parameter map node.
Load procedure statement from xml mapping.
void
loadProcedureTag
(SimpleXmlElement $node)
-
SimpleXmlElement
$node: procedure node
Load the result maps.
void
loadResultMap
(SimpleXmlElement $node)
-
SimpleXmlElement
$node: result map node.
Load the selectKey statement from xml mapping.
void
loadSelectKeyTag
(SimpleXmlElement $insert, mixed $node)
-
SimpleXmlElement
$insert: selectkey node
Load select statement from xml mapping.
void
loadSelectTag
(SimpleXmlElement $node)
-
SimpleXmlElement
$node: select node.
Load statement mapping from xml configuration file.
void
loadStatementTag
(SimpleXmlElement $node)
-
SimpleXmlElement
$node: statement node.
Load update statement from xml mapping.
void
loadUpdateTag
(SimpleXmlElement $node)
-
SimpleXmlElement
$node: update node.
Prepare the sql text (may extend to dynamic sql).
void
prepareSql
(
TSqlMapStatement $statement,
string $sqlStatement,
SimpleXmlElement $node)
-
TSqlMapStatement
$statement: mapped statement.
-
string
$sqlStatement: sql text.
-
SimpleXmlElement
$node: statement node.
Load extended SQL statements if application. Replaces global properties in the sql text. Extracts inline parameter maps.
-
TSqlMapStatement
$statement: mapped statement.
-
SimpleXmlElement
$node: statement node.
Attach CacheModel to statement and register trigger statements for cache models
void
registerCacheTriggers
()
Inherited Methods
Inherited From TSqlMapXmlConfigBuilder
TSqlMapXmlConfigBuilder::createObjectFromNode()
TSqlMapXmlConfigBuilder::getAbsoluteFilePath()
TSqlMapXmlConfigBuilder::getConfigFile()
TSqlMapXmlConfigBuilder::getElementByIdValue()
TSqlMapXmlConfigBuilder::loadXmlDocument()
TSqlMapXmlConfigBuilder::setObjectPropFromNode()