PRADO Component Framework for PHP 5
  • Home
  • About
  • Testimonials
  • Demos
  • Download
  • Documentation
  • Forum
  • Development
  • Tutorials
  • Class Docs
  • API Manual
  • Wiki

Packages

  • None
  • System
    • Caching
    • Collections
    • Data
      • ActiveRecord
        • Relations
        • Scaffold
          • InputBuilder
      • Commom
        • Sqlite
      • Common
        • Mssql
        • Mysql
        • Oracle
        • Pgsql
        • Sqlite
      • DataGateway
      • SqlMap
        • Configuration
        • Statements
    • Exceptions
    • I18N
    • IO
    • Security
    • Util
    • Web
      • Javascripts
      • Services
      • UI
        • ActiveControls
        • WebControls
    • Xml
  • Wsat
    • pages
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class TSqlMapXmlConfiguration

TSqlMapXmlConfig class.

Configures the TSqlMapManager using xml configuration file.

TSqlMapXmlConfigBuilder
Extended by TSqlMapXmlConfiguration
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
Methods summary
public
# __construct( TSqlMapManager $manager )

Parameters

$manager
TSqlMapManager
manager instance.
public
# getManager( )
protected string
# getConfigFile( )

Returns

string
configuration file.
public
# configure( string $filename = null )

Configure the TSqlMapManager using the given xml file.

Configure the TSqlMapManager using the given xml file.

Parameters

$filename
string
SqlMap configuration xml file.
protected
# loadGlobalProperty( SimpleXmlElement $node )

Load global replacement property.

Load global replacement property.

Parameters

$node
SimpleXmlElement
property node.
protected
# loadTypeHandler( SimpleXmlElement $node )

Load the type handler configurations.

Load the type handler configurations.

Parameters

$node
SimpleXmlElement
type handler node
protected
# loadDatabaseConnection( SimpleXmlElement $node )

Load the database connection tag.

Load the database connection tag.

Parameters

$node
SimpleXmlElement
connection node.
protected
# loadSqlMappingFiles( unknown_type $node )

Load SqlMap mapping configuration.

Load SqlMap mapping configuration.

Parameters

$node
unknown_type
$node
protected
# resolveResultMapping( )

Resolve nest result mappings.

Resolve nest result mappings.

protected
# attachCacheModels( )

Set the cache for each statement having a cache model property.

Set the cache for each statement having a cache model property.

public string
# replaceProperties( string $string )

Replace the place holders ${name} in text with properties the corresponding global property value.

Replace the place holders ${name} in text with properties the corresponding global property value.

Parameters

$string
string
original string.

Returns

string
string with global property replacement.
Methods inherited from TSqlMapXmlConfigBuilder
createObjectFromNode(), getAbsoluteFilePath(), getElementByIdValue(), loadXmlDocument(), setObjectPropFromNode()
Terms of Service | Contact Us
PRADO v3.2.4 API Manual API documentation generated by ApiGen 2.8.0
Copyright © 2006-2014 by the PRADO Group.
Powered by PRADO