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

Public Member Functions

 __construct ($sSystem, $iId, $iInit=1)
 
 isAllowedVote ($isPerformAction=false)
 
- Public Member Functions inherited from BxTemplVoteStars
 __construct ($sSystem, $iId, $iInit=true, $oTemplate=false)
 
- Public Member Functions inherited from BxBaseVoteStars
 getLegend ($aParams=array())
 
- 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 ()
 
 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

 _getCounterLabel ($iCount, $aParams=array())
 
- Protected Member Functions inherited from BxBaseVoteStars
 _getTmplVarsElement ($aParams=array())
 
 _getDoVote ($aParams=array(), $isAllowedVote=true)
 
 _isShowLegend ($aParams, $isAllowedVote, $isAllowedVoteView, $bCount)
 
- Protected Member Functions inherited from BxDolVoteStars
 _isDuplicate ($iObjectId, $iAuthorId, $iAuthorIp, $bVoted)
 
- Protected Member Functions inherited from BxBaseVote
 _prepareParamsData ($aParams)
 
 _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())
 
 _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 ()
 

Protected Attributes

 $MODULE
 
 $_oModule
 
- Protected Attributes inherited from BxBaseVoteStars
 $_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 ()
 

Member Function Documentation

◆ _getCounterLabel()

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

Reimplemented from BxBaseVote.

◆ isAllowedVote()

BxMarketVoteStars::isAllowedVote (   $isPerformAction = false)

Permissions functions

Reimplemented from BxDolVote.


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