UNA
BxDolVoteReactions Class Reference
Inheritance diagram for BxDolVoteReactions:
BxTemplVote BxBaseVote BxDolVote BxDolObject BxDolFactory iBxDolReplaceable BxBaseVoteReactions BxTemplVoteReactions BxDolCmtsVoteReactions BxMarketVoteReactions BxBaseCmtsVoteReactions BxTemplCmtsVoteReactions

Public Member Functions

 __construct ($sSystem, $iId, $iInit=true, $oTemplate=false)
 init ($iId)
 getValue ()
 getDefault ()
 getReaction ($sName)
 getReactions ($bFullInfo=false)
 getTrackBy ($aParams)
 getIcon ($sReaction, $bWithColor=true)
 getEmoji ($sReaction, $bWithColor=true)
 getImage ($sReaction, $bWithColor=true)
 actionGetDoVotePopup ()
 actionGetVotedBy ()
Public Member Functions inherited from BxBaseVote
 getJsClassName ()
 getJsObjectName ()
 getJsScript ($aParams=[])
 getJsClick ($iValue=0)
 getJsClickCounter ($aParams=array())
 getCounter ($aParams=[])
 getLegend ($aParams=array())
 getElementBlock ($aParams=array())
 getElementInline ($aParams=array())
 getElement ($aParams=array())
 getElementAPI ($aParams=[])
 getPerformedByAPI ($aParams=[])
Public Member Functions inherited from BxDolVote
 getObjectAuthorId ($iObjectId=0)
 isUndo ()
 getType ()
 getMinValue ()
 getMaxValue ()
 getStatCounter ()
 getStatRate ()
 getSocketName ()
 actionVote ()
 vote ($aVoteData=[], $aRequestParamsData=[])
 isAllowedVote ($isPerformAction=false)
 msgErrAllowedVote ()
 isAllowedVoteView ($isPerformAction=false)
 msgErrAllowedVoteView ()
 isAllowedVoteViewVoters ($isPerformAction=false)
 msgErrAllowedVoteViewVoters ()
Public Member Functions inherited from BxDolObject
 getSystemId ()
 getSystemName ()
 getSystemInfo ()
 getId ()
 setId ($iId)
 isEnabled ()
 isPerformed ($iObjectId, $iAuthorId, $iAuthorIp=0)
 getVote ($iObjectId=0, $bForceGet=false)
 getTrack ($iObjectId, $iAuthorId)
 getConditions ($sMainTable, $sMainField)
 getConditionsTrack ($sMainTable, $sMainField, $iAuthorId=0)
 getSqlParts ($sMainTable, $sMainField)
 getSqlPartsTrack ($sMainTable, $sMainField, $iAuthorId=0)
 getSqlPartsTrackAuthor ($sMainTable, $sMainField, $iObjectId=0)
 addMarkers ($aMarkers)
 getCounterAPI ($aParams=[])
 getQueryObject ()
 checkAction ($sAction, $isPerformAction=false)
 checkActionErrorMsg ($sAction)
 onObjectDelete ($iObjectId=0)

Protected Member Functions

 _isVote ($iObjectId=0, $bForceGet=false)
 _isDuplicate ($iObjectId, $iAuthorId, $iAuthorIp, $bVoted)
 _isCount ($aVote=array())
 _getVoteData ()
 _returnVoteData ($iObjectId, $iAuthorId, $iAuthorIp, $aData, $bVoted, $aParams=[])
 _returnVoteDataForSocket ($aData, $aMask=[])
 _getIconDoWithTrack ($bVoted, $aTrack=[])
 _getEmojiDoWithTrack ($bVoted, $aTrack=[])
 _getImageDoWithTrack ($bVoted, $aTrack=[])
 _getTitleDoWithTrack ($bVoted, $aTrack=[])
 _getTitleDoBy ($aParams=[])
Protected Member Functions inherited from BxBaseVote
 _prepareParamsData ($aParams)
 _getTmplVarsElement ($aParams=array())
 _getDoVote ($aParams=array(), $isAllowedVote=true)
 _getCounterLabel ($iCount, $aParams=array())
 _getVotedBy ($aParams=array())
 _isShowDoVote ($aParams, $isAllowedVote, $bCount)
 _isShowCounter ($aParams, $isAllowedVote, $isAllowedVoteView, $bCount)
 _isShowLegend ($aParams, $isAllowedVote, $isAllowedVoteView, $bCount)
Protected Member Functions inherited from BxDolVote
 _isAllowedVoteByObject ($aObject)
 _putVoteData ($iObjectId, $iAuthorId, $iAuthorIp, $aData, $bPerformUndo)
 _prepareRequestParamsData ($aParams, $aParamsAdd=array())
 _getVote ($iObjectId=0, $bForceGet=false)
 _getTrack ($iObjectId, $iAuthorId)
 _getIconDo ($bVoted)
 _getImageDo ($bVoted)
 _getEmojiDo ($bVoted)
 _getTitleDo ($bVoted)
 _useIconAs ($aParams=[])
Protected Member Functions inherited from BxDolObject
 _getAuthorId ()
 _getAuthorPassword ()
 _getAuthorIp ()
 _getAuthorInfo ($iAuthorId=0)
 _getAuthorObject ($iAuthorId=0)
 _trigger ()
 _triggerValue ($iValue)
 _replaceMarkers ($mixed)
 _getRequestParamsData ($aKeys=array())
 _getTmplContentElementBlock ()
 _getTmplContentElementInline ()
 _getTmplContentDoAction ()
 _getTmplContentDoActionLabel ()
 _getTmplContentCounter ()
 _getTmplContentCounterLabel ()

Protected Attributes

 $_sMenuDoVote
 $_sDataList
 $_aDataList
 $_sDefault
 $_bQuickMode
Protected Attributes inherited from BxBaseVote
 $_bCssJsAdded
 $_sJsClsName
 $_sJsObjName
 $_sStylePrefix
 $_aHtmlIds
 $_sTmplNameLegend
 $_sTmplNameByList
Protected Attributes inherited from BxDolVote
 $_sType
 $_aVote
 $_aElementDefaults
 $_aElementDefaultsApi
 $_aElementParamsApi
Protected Attributes inherited from BxDolObject
 $_oTemplate = null
 $_oQuery = null
 $_bApi = false
 $_iId = 0
 $_sSystem = ''
 $_aSystem = array()
 $_aMarkers = array ()
 $_sTmplContentElementBlock = ''
 $_sTmplContentElementInline = ''
 $_sTmplContentDoAction
 $_sTmplContentDoActionLabel = ''
 $_sTmplContentCounter = ''
 $_sTmplContentCounterLabel = ''

Static Protected Attributes

static $_sCounterStyleSimple = 'simple'
static $_sCounterStyleDivided = 'divided'
static $_sCounterStyleCompound = 'compound'

Additional Inherited Members

Static Public Member Functions inherited from BxDolVote
static getObjectInstance ($sSys, $iId, $iInit=true, $oTemplate=false)
static & getSystems ()
static onAuthorDelete ($iAuthorId)
Static Public Member Functions inherited from BxDolObject
static pruning ()

Detailed Description

Like based votes for any content

Constructor & Destructor Documentation

◆ __construct()

BxDolVoteReactions::__construct ( $sSystem,
$iId,
$iInit = true,
$oTemplate = false )

Reimplemented from BxTemplVote.

Member Function Documentation

◆ _getTitleDoBy()

BxDolVoteReactions::_getTitleDoBy ( $aParams = [])
protected

Reimplemented from BxDolVote.

◆ _getVoteData()

BxDolVoteReactions::_getVoteData ( )
protected

Reimplemented from BxDolVote.

◆ _isCount()

BxDolVoteReactions::_isCount ( $aVote = array())
protected

Reimplemented from BxDolVote.

◆ _isDuplicate()

BxDolVoteReactions::_isDuplicate ( $iObjectId,
$iAuthorId,
$iAuthorIp,
$bVoted )
protected

Internal functions

Reimplemented from BxDolVote.

◆ _isVote()

BxDolVoteReactions::_isVote ( $iObjectId = 0,
$bForceGet = false )
protected

Internal functions

Reimplemented from BxDolVote.

◆ _returnVoteData()

BxDolVoteReactions::_returnVoteData ( $iObjectId,
$iAuthorId,
$iAuthorIp,
$aData,
$bVoted,
$aParams = [] )
protected

Reimplemented from BxDolVote.

◆ _returnVoteDataForSocket()

BxDolVoteReactions::_returnVoteDataForSocket ( $aData,
$aMask = [] )
protected

Reimplemented from BxDolVote.

◆ actionGetDoVotePopup()

BxDolVoteReactions::actionGetDoVotePopup ( )

Actions functions

◆ actionGetVotedBy()

BxDolVoteReactions::actionGetVotedBy ( )

Reimplemented from BxDolVote.

◆ getValue()

BxDolVoteReactions::getValue ( )

Interface functions for outer usage

◆ init()

BxDolVoteReactions::init ( $iId)

Reimplemented from BxDolObject.


The documentation for this class was generated from the following file:
  • inc/classes/BxDolVoteReactions.php