Class \Prado\Data\SqlMap\TSqlMapConfig
TSqlMapConfig module configuration class.
Database connection and TSqlMapManager configuration.
Class hierarchy
- \Prado\Data\SqlMap\TSqlMapConfig
- \Prado\Data\TDataSourceConfig
- \Prado\TModule implements IModule
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 3.1
public
|
|
public
|
getClient() : TSqlMapGateway
Initialize the sqlmap if necessary, returns the TSqlMapGateway instance.
|
public
|
|
public
|
|
public
|
getSqlMapManager() : TSqlMapManager
Create and configure the data mapper using sqlmap configuration file.
Or if cache is enabled and manager already cached load from cache. If cache is enabled, the data mapper instance is cached. |
public
|
|
public
|
|
protected
|
|
protected
|
|
protected
|
|
private
|
public
mixed
|
CONFIG_FILE_EXT
File extension of external configuration file
|
'.xml'
|
\Prado\TApplicationComponent::FX_CACHE_FILE, \Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |