|
| | __construct (&$oMain) |
|
| isReviewed ($iId, $iAuthorId) |
|
| getReviewAuthorId ($iId, $mixedCmt) |
|
| getReviewsStats ($iId, $iCmtVParentId=-1, $iAuthorId=0, $sFilter='') |
|
| updateTriggerTableAvg ($iId, $fAvg) |
|
| getTableName () |
| | setTableNameFiles ($sTable) |
| | setTableNameFiles2Entries ($sTable) |
| | getCommentsCountAll ($iId, $iAuthorId=0, $bForceCalculate=false) |
| | getCommentsCount ($iId, $iCmtVParentId=-1, $iAuthorId=0, $sFilter='') |
|
| getStructure ($iObjectId, $iAuthorId=0, $iParentId=0, $sFilter='', $aOrder=array()) |
| | getComments ($iId, $iCmtVParentId=0, $iAuthorId=0, $sFilter='', $aOrder=array(), $iStart=0, $iCount=-1) |
|
| getCommentsBy ($aParams=array()) |
|
| getComment ($iId, $iCmtId) |
|
| getCommentSimple ($iId, $iCmtId) |
|
| removeComment ($iId, $iCmtId, $iCmtParentId) |
|
| saveImages ($iSystemId, $iCmtId, $iImageId) |
|
| getFiles ($iSystemId, $iCmtId, $iId=false) |
|
| getFileInfoById ($iFileId) |
|
| deleteImages ($iSystemId, $iCmtId, $iImageId=false) |
|
| updateComments ($aSetClause, $aWhereClause) |
|
| updateRepliesCount ($iCmtId, $iCount) |
|
| deleteAuthorComments ($iAuthorId, &$aFiles=null, &$aCmtIds=null) |
|
| deleteObjectComments ($iObjectId, &$aFilesReturn=null, &$aCmtIds=null) |
|
| deleteAll ($iSystemId, &$aFiles=null, &$aCmtIds=null) |
|
| deleteCmtIds ($iSystemId, $iCmtId) |
|
| getObjectAuthorId ($iId) |
|
| getObjectTitle ($iId) |
|
| getObjectPrivacyView ($iId, $sField='') |
|
| updateTriggerTable ($iId, $iCount) |
|
| getUniqId ($iSystemId, $iCmtId, $aData=[]) |
|
| updateUniqId ($aSetClause, $aWhereClause) |
| | __clone () |
|
| setReadOnlyMode ($b) |
| | connect () |
| | disconnect () |
| | ping () |
| | pdoExec ($sQuery) |
| | pdoQuery ($sQuery) |
| | pdoExceptionHandler ($oException) |
| | getOption ($sName) |
| | getOne ($oStatement, $aBindings=array(), $iIndex=0) |
| | getRow ($oStatement, $aBindings=array(), $iFetchType=PDO::FETCH_ASSOC) |
| | getColumn ($oStatement, $aBindings=array(), $iFetchColumnNumber=0) |
| | getFirstRow ($oStatement, $aBindings=array(), $iFetchType=PDO::FETCH_ASSOC) |
| | getNextRow ($iFetchType=PDO::FETCH_ASSOC) |
| | getAll ($oStatement, $aBindings=array(), $iFetchType=PDO::FETCH_ASSOC) |
| | fillArray ($oStatement, $aBindings=array(), $iFetchType=PDO::FETCH_ASSOC) |
| | getAllWithKey ($oStatement, $sFieldKey, $aBindings=array(), $iFetchType=PDO::FETCH_ASSOC) |
| | getPairs ($oStatement, $sFieldKey, $sFieldValue, $aBindings=array(), $iFetchType=PDO::FETCH_ASSOC) |
| | getNumRows ($oStatement=null) |
| | getAffectedRows ($oStatement=null) |
|
| lastId () |
| | query ($oStatement, $aBindings=array(), $bVerbose=null) |
| | res ($oStatement, $aBindings=array(), $bVerbose=null) |
| | getServerInfo () |
| | getVersion () |
| | listTables () |
|
| getFields ($sTable) |
|
| fetchField ($oStatement, $iField, $aBindings=array()) |
|
| isTableExists ($sTable) |
|
| isFieldExists ($sTable, $sFieldName) |
|
| isIndexExists ($sTable, $sIndexName) |
|
| error ($aError) |
|
| cacheParams ($bForceCacheInvalidate=false, $bForceCacheInvalidateMixed=false) |
|
| cacheParamsClear ($sCacheName='') |
|
| isParam ($sKey, $bFromCache=true) |
|
| addParam ($sName, $sValue, $iKateg, $sDesc, $sType) |
|
| getParam ($sKey, $bFromCache=true) |
|
| setParam ($sKey, $mixedValue, $iMixId=0) |
|
| getParamsMix ($iId) |
|
| getParamsMixActive ($sType) |
|
| getParamsMixes ($sType, $mixedPublished=false) |
|
| setTimezone ($sTimezone) |
|
| getEncoding () |
|
| setErrorChecking ($b) |
| | getDbCacheObject () |
|
| genDbCacheKey ($sName) |
|
| getCache ($sName, $sFunc) |
|
| setCache ($sName, $mData) |
|
| fromCache ($sName, $sFunc) |
|
| cleanCache ($sName) |
|
& | fromMemory ($sName, $sFunc) |
|
| cleanMemory ($sName) |
|
| cleanMemoryAll () |
| | escape ($s) |
|
| isValidFieldName ($s) |
| | implode_escape ($mixed) |
| | unescape ($mixed) |
| | prepare ($sQuery) |
| | prepareAsString ($sQuery) |
| | arrayToSQL ($a, $sDiv=',', $sOperator='=', $bWildcardSpaceChars=false) |
|
| executeSQL ($sPath, $aReplace=array(), $isBreakOnError=true) |
|
|
static | getSystemBy ($aParams) |
|
static | getInfoBy ($aParams) |
|
static | getInfoByUniqId ($iUniqId) |
| static | getCommentByUniq ($iUnicId) |
|
static | getCommentSimpleByUniqId ($iUniqId) |
|
static | getCommentExtendedByUniqId ($iUniqId) |
| static | getInstance () |
|
static | getInstanceWithConf ($aDbConf, &$sError) |
|
static | getLink () |
|
| getCommentsCheckStatus ($iAuthorId, $sStatus=BX_CMT_STATUS_ACTIVE) |
|
| convertImagesArray ($a) |
| | __construct ($aDbConf=false) |
|
| balancer () |
|
| isParamInCache ($sKey) |
|
| log ($s) |
|
| executeStatement ($oStatement, $aBindings=array(), $bVerbose=null, &$iErrorCode=null) |
|
| executeStatementException ($oStatement, $aBindings=array(), $bVerbose=null) |
|
| executeStatementSilent ($oStatement, $aBindings=array(), $bVerbose=null) |
|
| errorOutput ($aError) |
|
| $_oMain |
|
| $_sTable |
|
| $_sTriggerTable |
|
| $_sTriggerFieldId |
|
| $_sTriggerFieldAuthor |
|
| $_sTriggerFieldTitle |
|
| $_sTriggerFieldComments |
|
| $_sTableFiles |
|
| $_sTableFiles2Entries |
|
| $_sTableSystems |
|
| $_sTableIds |
|
| $_bPdoPersistent |
|
| $_iPdoFetchType |
|
| $_iPdoErrorMode |
|
| $_bErrorChecking |
|
| $_aError |
|
| $_sHost |
|
| $_sPort |
|
| $_sSocket |
|
| $_sDbname |
|
| $_sUser |
|
| $_sPassword |
|
| $_sCharset |
|
| $_sStorageEngine |
|
| $_oStatement = null |
|
| $_oDbCacheObject = null |
|
static | $_rLink |
|
static | $_aDbCacheData = [] |
|
static | $_aParams |
|
static | $_sParamsCacheName = 'sys_options' |
|
static | $_sParamsCacheNameMixed = 'sys_options_mixed_' |
|
static | $_sParamsCacheNameMix = 'sys_options_mix_' |
|
static | $_sErrorKey = 'bx_db_error' |
| static | $_aErrors |
|
static | $_bReadOnlyMode = true |
|
static | $_bMultuServersMode = false |