UNA
Loading...
Searching...
No Matches
BxBaseModTextVotePollAnswers Class Reference
Inheritance diagram for BxBaseModTextVotePollAnswers:
BxTemplVoteLikes BxBaseVoteLikes BxDolVoteLikes BxTemplVote BxBaseVote BxDolVote BxDolObject BxDolFactory iBxDolReplaceable BxAdsVotePollAnswers BxClssVotePollAnswers BxForumVotePollAnswers BxPostsVotePollAnswers BxReviewsVotePollAnswers

Public Member Functions

 __construct ($sSystem, $iId, $iInit=1)
 
 getJsClick ($iValue=0)
 
 getCounter ($aParams=array())
 
 getObjectAuthorId ($iObjectId=0)
 
 isPerformed ($iObjectId, $iAuthorId, $iAuthorIp=0)
 
 isAllowedVote ($isPerformAction=false)
 
 isAllowedVoteViewVoters ($isPerformAction=false)
 
- Public Member Functions inherited from BxTemplVoteLikes
 __construct ($sSystem, $iId, $iInit=true, $oTemplate=false)
 
- Public Member Functions inherited from BxBaseVoteLikes
 getCounterAPI ($aParams=[])
 
 getElement ($aParams=array())
 
- Public Member Functions inherited from BxDolVoteLikes
 getValue ()
 
- Public Member Functions inherited from BxBaseVote
 getJsClassName ()
 
 getJsObjectName ()
 
 getJsScript ($aParams=[])
 
 getJsClickCounter ($aParams=array())
 
 getLegend ($aParams=array())
 
 getElementBlock ($aParams=array())
 
 getElementInline ($aParams=array())
 
 getElementAPI ($aParams=[])
 
 getPerformedByAPI ($aParams=[])
 
- Public Member Functions inherited from BxDolVote
 isUndo ()
 
 getType ()
 
 getMinValue ()
 
 getMaxValue ()
 
 getStatCounter ()
 
 getStatRate ()
 
 getSocketName ()
 
 actionVote ()
 
 vote ($aVoteData=[], $aRequestParamsData=[])
 
 actionGetVotedBy ()
 
 msgErrAllowedVote ()
 
 isAllowedVoteView ($isPerformAction=false)
 
 msgErrAllowedVoteView ()
 
 msgErrAllowedVoteViewVoters ()
 
- Public Member Functions inherited from BxDolObject
 init ($iId)
 
 getSystemId ()
 
 getSystemName ()
 
 getSystemInfo ()
 
 getId ()
 
 setId ($iId)
 
 isEnabled ()
 
 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)
 
 getQueryObject ()
 
 checkAction ($sAction, $isPerformAction=false)
 
 checkActionErrorMsg ($sAction)
 
 onObjectDelete ($iObjectId=0)
 

Protected Member Functions

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

Protected Attributes

 $_sModule
 
 $_oModule
 
 $_aObjectInfo
 
 $_aPollInfo
 
 $_bContentInfo
 
 $_aContentInfo
 
 $_bHiddenResults
 
 $_bAnonymousVoting
 
 $_sTmplNameElementBlock
 
- 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 = ''
 

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 ()
 

Member Function Documentation

◆ _getCounterLabel()

BxBaseModTextVotePollAnswers::_getCounterLabel ( $iCount,
$aParams = array() )
protected

Reimplemented from BxBaseVoteLikes.

◆ _getIconDo()

BxBaseModTextVotePollAnswers::_getIconDo ( $bVoted)
protected

Reimplemented from BxDolVoteLikes.

◆ _getTitleDo()

BxBaseModTextVotePollAnswers::_getTitleDo ( $bVoted)
protected

Reimplemented from BxDolVoteLikes.

◆ _getTitleDoBy()

BxBaseModTextVotePollAnswers::_getTitleDoBy ( $aParams = array())
protected

Reimplemented from BxDolVote.

◆ _getTmplContentElementBlock()

BxBaseModTextVotePollAnswers::_getTmplContentElementBlock ( )
protected

Reimplemented from BxDolObject.

◆ _isAllowedVoteByObject()

BxBaseModTextVotePollAnswers::_isAllowedVoteByObject ( $aObject)
protected

Internal functions

If a poll wasn't attached to any content yet, then we cannot check content's visibility.

Reimplemented from BxDolVote.

◆ _isShowDoVote()

BxBaseModTextVotePollAnswers::_isShowDoVote ( $aParams,
$isAllowedVote,
$bCount )
protected

Reimplemented from BxBaseVoteLikes.

◆ getCounter()

BxBaseModTextVotePollAnswers::getCounter ( $aParams = array())

Reimplemented from BxBaseVoteLikes.

◆ getJsClick()

BxBaseModTextVotePollAnswers::getJsClick ( $iValue = 0)

Reimplemented from BxBaseVoteLikes.

◆ getObjectAuthorId()

BxBaseModTextVotePollAnswers::getObjectAuthorId ( $iObjectId = 0)

Reimplemented from BxDolVote.

◆ isAllowedVote()

BxBaseModTextVotePollAnswers::isAllowedVote ( $isPerformAction = false)

Permissions functions

Reimplemented from BxDolVote.

◆ isAllowedVoteViewVoters()

BxBaseModTextVotePollAnswers::isAllowedVoteViewVoters ( $isPerformAction = false)

Reimplemented from BxDolVote.

◆ isPerformed()

BxBaseModTextVotePollAnswers::isPerformed ( $iObjectId,
$iAuthorId,
$iAuthorIp = 0 )

Reimplemented from BxDolObject.


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