UNA
Loading...
Searching...
No Matches
BxDolVoteQuery Class Reference
Inheritance diagram for BxDolVoteQuery:
BxDolObjectQuery BxDolDb BxDolFactory iBxDolSingleton BxDolVoteLikesQuery BxDolVoteReactionsQuery BxDolVoteStarsQuery

Public Member Functions

 __construct (&$oModule)
 
 isPostTimeoutEnded ($iObjectId, $iAuthorId, $sAuthorIp)
 
 getVote ($iObjectId)
 
 putVote ($iObjectId, $iAuthorId, $sAuthorIp, $aData, $bUndo=false)
 
 getLegend ($iObjectId)
 
 getSqlParts ($sMainTable, $sMainField)
 
 updateTriggerTableValue ($iObjectId, $iValue)
 
- Public Member Functions inherited from BxDolObjectQuery
 getSqlPartsTrack ($sMainTable, $sMainField, $iAuthorId=0)
 
 getSqlPartsTrackAuthor ($sMainTable, $sMainField, $iObjectId=0)
 
 isPerformed ($iObjectId, $iAuthorId)
 
 getPerformedBy ($iObjectId, $iStart=0, $iPerPage=0)
 
 getData ($iObjectId)
 
 getTrack ($iObjectId, $iAuthorId)
 
 getTrackBy ($aParams=array())
 
 deleteObjectEntries ($iObjectId)
 
 deleteAuthorEntries ($iAuthorId)
 
 getObjectInfo ($iId)
 
 getObjectAuthorId ($iId)
 
 getObjectCount ($iId)
 
 updateMainTableValue ($iObjectId, $iValue)
 
 updateTriggerTable ($iObjectId)
 
 pruningByObject ($iObjectId)
 
 pruningByAuthor ($iAuthorId)
 
 pruningByDate ($iDate)
 
- Public Member Functions inherited from BxDolDb
 __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)
 
 implode_escape ($mixed)
 
 unescape ($mixed)
 
 prepare ($sQuery)
 
 prepareAsString ($sQuery)
 
 arrayToSQL ($a, $sDiv=',', $sOperator='=', $bWildcardSpaceChars=false)
 
 executeSQL ($sPath, $aReplace=array(), $isBreakOnError=true)
 

Protected Member Functions

 _deleteTrack ($iObjectId, $iAuthorId)
 
 _updateTriggerTable ($iObjectId, $aEntry)
 
 _deleteAuthorEntriesTableMain ($aTrack)
 
 _deleteAuthorEntriesTableTrigger ($aTrack)
 
- Protected Member Functions inherited from BxDolDb
 __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)
 

Protected Attributes

 $_sTriggerFieldRate
 
 $_iPostTimeout
 
- Protected Attributes inherited from BxDolObjectQuery
 $_oModule
 
 $_sTable
 
 $_sTableTrack
 
 $_sTableTrackFieldObject
 
 $_sTableTrackFieldAuthor
 
 $_sTableTrackFieldDate
 
 $_sTriggerTable
 
 $_sTriggerFieldId
 
 $_sTriggerFieldAuthor
 
 $_sTriggerFieldCount
 
 $_sMethodGetEntry
 
- Protected Attributes inherited from BxDolDb
 $_bPdoPersistent
 
 $_iPdoFetchType
 
 $_iPdoErrorMode
 
 $_bErrorChecking
 
 $_aError
 
 $_sHost
 
 $_sPort
 
 $_sSocket
 
 $_sDbname
 
 $_sUser
 
 $_sPassword
 
 $_sCharset
 
 $_sStorageEngine
 
 $_oStatement = null
 
 $_oDbCacheObject = null
 

Additional Inherited Members

- Static Public Member Functions inherited from BxDolDb
static getInstance ()
 
static getInstanceWithConf ($aDbConf, &$sError)
 
static getLink ()
 
- Static Protected Attributes inherited from BxDolDb
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
 

Detailed Description

See also
BxDolVote

Constructor & Destructor Documentation

◆ __construct()

BxDolVoteQuery::__construct ( & $oModule)

Reimplemented from BxDolObjectQuery.

Member Function Documentation

◆ _deleteAuthorEntriesTableMain()

BxDolVoteQuery::_deleteAuthorEntriesTableMain ( $aTrack)
protected

Reimplemented from BxDolObjectQuery.

◆ _deleteAuthorEntriesTableTrigger()

BxDolVoteQuery::_deleteAuthorEntriesTableTrigger ( $aTrack)
protected

Reimplemented from BxDolObjectQuery.

◆ _updateTriggerTable()

BxDolVoteQuery::_updateTriggerTable ( $iObjectId,
$aEntry )
protected

Reimplemented from BxDolObjectQuery.

Reimplemented in BxDolVoteReactionsQuery.

◆ getSqlParts()

BxDolVoteQuery::getSqlParts ( $sMainTable,
$sMainField )

Get SQL parts for main table.

Reimplemented from BxDolObjectQuery.

Reimplemented in BxDolVoteReactionsQuery.

◆ updateTriggerTableValue()

BxDolVoteQuery::updateTriggerTableValue ( $iObjectId,
$iValue )

Is used instead of 'updateTriggerTable' when trigger table contains only one field related to this object (View, Vote, Comment, etc). For example, it's used in Favourite (simple mode w\o lists) and Feature objects.

Reimplemented from BxDolObjectQuery.


The documentation for this class was generated from the following file: