UNA
Loading...
Searching...
No Matches
BxBaseScore Class Reference
Inheritance diagram for BxBaseScore:
BxDolScore BxDolObject BxDolFactory iBxDolReplaceable BxTemplScore BxDolCmtsScore BxMarketScore BxBaseCmtsScore BxTemplCmtsScore

Public Member Functions

 __construct ($sSystem, $iId, $iInit=true, $oTemplate=false)
 
 getJsObjectName ()
 
 getJsScript ($aParams=[])
 
 getJsClick ($sType)
 
 getJsClickCounter ()
 
 getCounter ($aParams=[])
 
 getCounterAPI ($aParams=[])
 
 getLegend ($aParams=array())
 
 getElementBlock ($aParams=array())
 
 getElementInline ($aParams=array())
 
 getElement ($aParams=array())
 
 getElementAPI ($aParams=[])
 
- Public Member Functions inherited from BxDolScore
 isPerformed ($iObjectId, $iAuthorId, $iAuthorIp=0)
 
 getObjectAuthorId ($iObjectId=0)
 
 isUndo ()
 
 getStatCounterUp ()
 
 getStatCounterDown ()
 
 getStatScore ()
 
 getSocketName ()
 
 actionVoteUp ()
 
 actionVoteDown ()
 
 actionGetVotedBy ()
 
 vote ($aVoteData=[], $aRequestParamsData=[])
 
 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 ()
 
 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

 _getDoVote ($sType, $aParams=[], $isAllowedVote=true)
 
 _getCounterLabel ($iCount, $aParams=array())
 
 _getLabelDo ($sType, $aParams=array())
 
 _getVotedBy ($aParams)
 
 _isShowDoVote ($aParams, $isAllowedVote, $bCount)
 
 _isShowCounter ($aParams, $isAllowedVote, $isAllowedVoteView, $bCount)
 
 _isShowLegend ($aParams, $isAllowedVote, $isAllowedVoteView, $bCount)
 
- Protected Member Functions inherited from BxDolScore
 _isAllowedVoteByObject ($aObject)
 
 _putVoteData ($iObjectId, $iAuthorId, $iAuthorIp, $aData, $bPerformUndo)
 
 _returnVoteDataForSocket ($aData, $aMask=[])
 
 _getVote ($iObjectId=0, $bForceGet=false)
 
 _isVote ($iObjectId=0, $bForceGet=false)
 
 _isCount ($aScore=[])
 
 _getTrack ($iObjectId, $iAuthorId)
 
 _getImageDo ($sType)
 
 _getIconDo ($sType='')
 
 _getTitleDo ($sType)
 
 _getTitleDoBy ()
 
 _encodeElementParams ($aParams)
 
 _decodeElementParams ($sParams, $bMergeWithDefaults=true)
 
- Protected Member Functions inherited from BxDolObject
 _getAuthorId ()
 
 _getAuthorPassword ()
 
 _getAuthorIp ()
 
 _getAuthorInfo ($iAuthorId=0)
 
 _getAuthorObject ($iAuthorId=0)
 
 _trigger ()
 
 _triggerValue ($iValue)
 
 _replaceMarkers ($mixed)
 
 _prepareParamsData ($aParams)
 
 _getRequestParamsData ($aKeys=array())
 
 _prepareRequestParamsData ($aParams, $aParamsAdd=array())
 
 _getTmplContentElementBlock ()
 
 _getTmplContentElementInline ()
 
 _getTmplContentDoAction ()
 
 _getTmplContentDoActionLabel ()
 
 _getTmplContentCounter ()
 
 _getTmplContentCounterLabel ()
 

Protected Attributes

 $_bCssJsAdded
 
 $_sJsObjName
 
 $_sStylePrefix
 
 $_aHtmlIds
 
 $_sTmplNameLegend
 
 $_sTmplNameByList
 
- Protected Attributes inherited from BxDolScore
 $_aScore
 
 $_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 BxDolScore
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
BxDolScore

Constructor & Destructor Documentation

◆ __construct()

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

Reimplemented from BxDolScore.

Member Function Documentation

◆ getCounterAPI()

BxBaseScore::getCounterAPI ( $aParams = [])

Reimplemented from BxDolObject.

◆ getElementAPI()

BxBaseScore::getElementAPI ( $aParams = [])

Reimplemented from BxDolObject.


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