|
| __construct ($aDbConf=false) |
|
| pdoExceptionHandler ($oException) |
|
| error ($aError) |
|
| getVersion () |
|
| connect () |
|
| res ($oStatement, $aBindings=array(), $bVerbose=null) |
|
| ping () |
|
| pdoQuery ($sQuery) |
|
| pdoExec ($sQuery) |
|
| getOne ($oStatement, $aBindings=array(), $iIndex=0) |
|
| prepare ($sQuery) |
|
| getRow ($oStatement, $aBindings=array(), $iFetchType=PDO::FETCH_ASSOC) |
|
| query ($oStatement, $aBindings=array(), $bVerbose=null) |
|
| getAll ($oStatement, $aBindings=array(), $iFetchType=PDO::FETCH_ASSOC) |
|
| getPairs ($oStatement, $sFieldKey, $sFieldValue, $aBindings=array()) |
|
| getFirstRow ($oStatement, $aBindings=array(), $iFetchType=PDO::FETCH_ASSOC) |
|
| getNextRow ($iFetchType=PDO::FETCH_ASSOC) |
|
| isTableExists ($sTable) |
|
| getParam ($sName) |
|
|
| $_bPdoPersistent |
|
| $_iPdoFetchType |
|
| $_iPdoErrorMode |
|
| $_bErrorChecking |
|
| $_aError |
|
| $_sHost |
|
| $_sPort |
|
| $_sSocket |
|
| $_sDbname |
|
| $_sUser |
|
| $_sPassword |
|
| $_sCharset |
|
| $_sStorageEngine |
|
| $_oStatement = null |
|
| $_oDbCacheObject = null |
|
|
static | $_rLink |
|
static | $_aDbCacheData |
|
static | $_sErrorKey = 'bx_db_error' |
|
static | $_aErrors |
|
|
| errorOutput ($aError) |
|
| executeStatement ($oStatement, $aBindings=array(), $bVerbose=null) |
|
| executeStatementException ($oStatement, $aBindings=array(), $bVerbose=null) |
|
| executeStatementSilent ($oStatement, $aBindings=array(), $bVerbose=null) |
|
BxMDb Class allows to create connect with Dolphin's database
◆ getVersion()
◆ pdoExceptionHandler()
BxMDb::pdoExceptionHandler |
( |
| $oException | ) |
|
database query exception handler for exceptions appeared out of the try/catch block
◆ $_aErrors
Initial value:= array(
BX_DB_ERR_CONNECT_FAILD => 'Database connect failed',
BX_DB_ERR_QUERY_ERROR => 'Database query error',
BX_DB_ERR_ESCAPE => 'Escape string error'
)
The documentation for this class was generated from the following file:
- modules/boonex/dolphin_migration/classes/BxMDb.php