Class \Prado\Data\SqlMap\Configuration\TSqlMapXmlConfigBuilder
TSqlMapXmlConfig class file.
Class hierarchy
Author: Wei Zhuo <weizhuo[at]gmail[dot]com>
protected
|
createObjectFromNode(SimpleXmlElement $node) : object
Create an instance of an object give by the attribute named 'class' in the
node and set the properties on the object given by attribute names and values.
|
protected
|
getAbsoluteFilePath(string $basefile, string $resource) : string
Gets the filename relative to the basefile.
|
protected
abstract
|
|
protected
|
getElementByIdValue(SimpleXmlElement $document, string $tag, string $value) : null|SimpleXmlElement
Get element node by ID value (try for attribute name ID as case insensitive).
|
protected
|
loadXmlDocument(string $filename, TSqlMapXmlConfiguration $config) : SimpleXmlElement
Load document using simple xml.
|
protected
|
setObjectPropFromNode(object $obj, SimpleXmlElement $node[, array<string|int, mixed> $except = [] ]) : mixed
For each attributes (excluding attribute named in $except) set the
property of the $obj given by the name of the attribute with the value
of the attribute.
|
|