UNA
BxBaseVoteStars Class Reference
Inheritance diagram for BxBaseVoteStars:
BxDolVoteStars BxTemplVote BxBaseVote BxDolVote BxDolObject BxDolFactory iBxDolReplaceable BxTemplVoteStars BxMarketVoteStars BxPhotosVoteStars BxReviewsVoteStars

Public Member Functions

 __construct ($sSystem, $iId, $iInit=true, $oTemplate=false)
 getLegend ($aParams=array())
 getCounterAPI ($aParams=[])
Public Member Functions inherited from BxDolVoteStars
 getValue ($bVoted)
Public Member Functions inherited from BxBaseVote
 getJsClassName ()
 getJsObjectName ()
 getJsScript ($aParams=[])
 getJsClick ($iValue=0)
 getJsClickCounter ($aParams=array())
 getCounter ($aParams=[])
 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)
 getQueryObject ()
 checkAction ($sAction, $isPerformAction=false)
 checkActionErrorMsg ($sAction)
 onObjectDelete ($iObjectId=0)

Protected Member Functions

 _getTmplVarsElement ($aParams=array())
 _getDoVote ($aParams=array(), $isAllowedVote=true)
 _isShowLegend ($aParams, $isAllowedVote, $isAllowedVoteView, $bCount)
Protected Member Functions inherited from BxDolVoteStars
 _isDuplicate ($iObjectId, $iAuthorId, $iAuthorIp, $bVoted)
 _getVote ($iObjectId=0, $bForceGet=false)
Protected Member Functions inherited from BxBaseVote
 _prepareParamsData ($aParams)
 _getCounterLabel ($iCount, $aParams=array())
 _getVotedBy ($aParams=array())
 _isShowDoVote ($aParams, $isAllowedVote, $bCount)
 _isShowCounter ($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())
 _isVote ($iObjectId=0, $bForceGet=false)
 _getTrack ($iObjectId, $iAuthorId)
 _getIconDo ($bVoted)
 _getImageDo ($bVoted)
 _getEmojiDo ($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 ()

Protected Attributes

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

Detailed Description

See also
BxDolVote

Constructor & Destructor Documentation

◆ __construct()

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

Reimplemented from BxDolVoteStars.

Member Function Documentation

◆ _getDoVote()

BxBaseVoteStars::_getDoVote ( $aParams = array(),
$isAllowedVote = true )
protected

Reimplemented from BxBaseVote.

◆ _getTmplVarsElement()

BxBaseVoteStars::_getTmplVarsElement ( $aParams = array())
protected

Internal methods.

Reimplemented from BxBaseVote.

◆ _isShowLegend()

BxBaseVoteStars::_isShowLegend ( $aParams,
$isAllowedVote,
$isAllowedVoteView,
$bCount )
protected

Reimplemented from BxBaseVote.

◆ getCounterAPI()

BxBaseVoteStars::getCounterAPI ( $aParams = [])

Reimplemented from BxDolObject.

◆ getLegend()

BxBaseVoteStars::getLegend ( $aParams = array())

Reimplemented from BxBaseVote.


The documentation for this class was generated from the following file:
  • template/scripts/BxBaseVoteStars.php