UNA
Loading...
Searching...
No Matches
BxDolVoteStars Class Reference
Inheritance diagram for BxDolVoteStars:
BxTemplVote BxBaseVote BxDolVote BxDolObject BxDolFactory iBxDolReplaceable BxBaseVoteStars BxTemplVoteStars BxMarketVoteStars BxPhotosVoteStars BxReviewsVoteStars

Public Member Functions

 __construct ($sSystem, $iId, $iInit=true, $oTemplate=false)
 
- 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=[])
 
 actionGetVotedBy ()
 
 isAllowedVote ($isPerformAction=false)
 
 msgErrAllowedVote ()
 
 isAllowedVoteView ($isPerformAction=false)
 
 msgErrAllowedVoteView ()
 
 isAllowedVoteViewVoters ($isPerformAction=false)
 
 msgErrAllowedVoteViewVoters ()
 
- Public Member Functions inherited from BxDolObject
 init ($iId)
 
 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

 _isDuplicate ($iObjectId, $iAuthorId, $iAuthorIp, $bVoted)
 
- 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
 _isCount ($aVote=array())
 
 _isAllowedVoteByObject ($aObject)
 
 _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)
 
 _getIconDo ($bVoted)
 
 _getTitleDo ($bVoted)
 
 _getTitleDoBy ($aParams=[])
 
 _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 ()
 

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

Detailed Description

Star based votes for any content

Constructor & Destructor Documentation

◆ __construct()

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

Reimplemented from BxTemplVote.

Member Function Documentation

◆ _isDuplicate()

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

Internal functions

Reimplemented from BxDolVote.


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