PHP 클래스 Prado\Data\SqlMap\Configuration\TSqlMapXmlConfiguration

Configures the TSqlMapManager using xml configuration file.
부터: 3.1
상속: extends TSqlMapXmlConfigBuilder
파일 보기 프로젝트 열기: pradosoft/prado 1 사용 예제들

공개 메소드들

메소드 설명
__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 ( )