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

Configures the TSqlMapManager using xml configuration file.
С версии: 3.1
Наследование: extends TSqlMapXmlConfigBuilder
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( $manager )
configure ( $filename = null ) Configure the TSqlMapManager using the given xml file.
getManager ( )
replaceProperties ( $string ) : string Replace the place holders ${name} in text with properties the corresponding global property value.

Защищенные методы

Метод Описание
attachCacheModels ( ) Set the cache for each statement having a cache model property.
getConfigFile ( )
loadDatabaseConnection ( $node ) Load the database connection tag.
loadGlobalProperty ( $node ) Load global replacement property.
loadSqlMappingFiles ( unknown_type $node ) Load SqlMap mapping configuration.
loadTypeHandler ( $node ) Load the type handler configurations.
resolveResultMapping ( ) Resolve nest result mappings.

Описание методов

__construct() публичный Метод

public __construct ( $manager )

attachCacheModels() защищенный Метод

Set the cache for each statement having a cache model property.
protected attachCacheModels ( )

configure() публичный Метод

Configure the TSqlMapManager using the given xml file.
public configure ( $filename = null )

getConfigFile() защищенный Метод

protected getConfigFile ( )

getManager() публичный Метод

public getManager ( )

loadDatabaseConnection() защищенный Метод

Load the database connection tag.
protected loadDatabaseConnection ( $node )

loadGlobalProperty() защищенный Метод

Load global replacement property.
protected loadGlobalProperty ( $node )

loadSqlMappingFiles() защищенный Метод

Load SqlMap mapping configuration.
protected loadSqlMappingFiles ( unknown_type $node )
$node unknown_type

loadTypeHandler() защищенный Метод

Load the type handler configurations.
protected loadTypeHandler ( $node )

replaceProperties() публичный Метод

Replace the place holders ${name} in text with properties the corresponding global property value.
public replaceProperties ( $string ) : string
Результат string string with global property replacement.

resolveResultMapping() защищенный Метод

Resolve nest result mappings.
protected resolveResultMapping ( )