UNA
Loading...
Searching...
No Matches
BxSEDb Class Reference

Public Member Functions

 __construct ($aDbConf=false)
 
 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)
 
 getSEParam ($sTable, $sName)
 

Public Attributes

 $_bPdoPersistent
 
 $_iPdoFetchType
 
 $_iPdoErrorMode
 
 $_bErrorChecking
 
 $_aError
 
 $_sHost
 
 $_sPort
 
 $_sSocket
 
 $_sDbname
 
 $_sUser
 
 $_sPassword
 
 $_sCharset
 
 $_sStorageEngine
 
 $_oStatement = null
 
 $_oDbCacheObject = null
 

Static Public Attributes

static $_rLink
 
static $_aDbCacheData
 
static $_sErrorKey = 'bx_db_error'
 
static $_aErrors
 

Protected Member Functions

 executeStatement ($oStatement, $aBindings=array(), $bVerbose=null)
 
 executeStatementException ($oStatement, $aBindings=array(), $bVerbose=null)
 
 executeStatementSilent ($oStatement, $aBindings=array(), $bVerbose=null)
 

Detailed Description

BxSEDb Class duplicate for connecting with Social Engine database It allows to create two connections for different databases

Member Data Documentation

◆ $_aErrors

BxSEDb::$_aErrors
static
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: