Метод | Описание | |
---|---|---|
clearCache ( ) | Deletes the configuration cache. | |
getClient ( ) : |
Initialize the sqlmap if necessary, returns the TSqlMapGateway instance. | |
getConfigFile ( ) : string | ||
getEnableCache ( ) : boolean | ||
getSqlMapManager ( ) : |
Create and configure the data mapper using sqlmap configuration file. | |
setConfigFile ( $value ) | ||
setEnableCache ( $value ) | Set true to cache sqlmap instances. |
Метод | Описание | |
---|---|---|
cacheSqlMapManager ( $manager ) : boolean | Saves the current SqlMap manager to cache. | |
createSqlMapGateway ( ) : |
||
loadCachedSqlMapManager ( ) : |
Loads SqlMap manager from cache. |
Метод | Описание | |
---|---|---|
getCacheKey ( ) : string |
protected cacheSqlMapManager ( $manager ) : boolean | ||
Результат | boolean | true if SqlMap manager was cached, false otherwise. |
protected createSqlMapGateway ( ) : |
||
Результат | SqlMap gateway instance. |
public getClient ( ) : |
||
Результат | SqlMap gateway instance. |
public getConfigFile ( ) : string | ||
Результат | string | SqlMap configuration file. |
public getEnableCache ( ) : boolean | ||
Результат | boolean | true if configuration should be cached, false otherwise. |
public getSqlMapManager ( ) : |
||
Результат | SqlMap manager instance |
protected loadCachedSqlMapManager ( ) : |
||
Результат | SqlMap manager intance if load was successful, null otherwise. |
public setEnableCache ( $value ) |