UNA
Loading...
Searching...
No Matches
BxDolObject Class Reference
Inheritance diagram for BxDolObject:
BxDolFactory iBxDolReplaceable BxDolFavorite BxDolFeature BxDolReport BxDolScore BxDolView BxDolVote BxBaseFavorite BxBaseFeature BxBaseReport BxBaseScore BxBaseView BxBaseVote BxTemplFavorite BxTemplFeature BxTemplReport BxTemplScore BxTemplView BxTemplVote BxOrgsFavorite BxPersonsFavorite BxOrgsReport BxPersonsReport BxTimelineReport BxDolCmtsScore BxMarketScore BxDolVoteLikes BxDolVoteReactions BxDolVoteStars

Public Member Functions

 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)
 
 getElementAPI ($aParams=[])
 
 getCounterAPI ($aParams=[])
 
 getQueryObject ()
 
 checkAction ($sAction, $isPerformAction=false)
 
 checkActionErrorMsg ($sAction)
 
 onObjectDelete ($iObjectId=0)
 

Static Public Member Functions

static & getSystems ()
 
static pruning ()
 

Protected Member Functions

 __construct ($sSystem, $iId, $iInit=true, $oTemplate=false)
 
 _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

 $_oTemplate = null
 
 $_oQuery = null
 
 $_bApi = false
 
 $_iId = 0
 
 $_sSystem = ''
 
 $_aSystem = array()
 
 $_aMarkers = array ()
 
 $_sTmplContentElementBlock = ''
 
 $_sTmplContentElementInline = ''
 
 $_sTmplContentDoAction
 
 $_sTmplContentDoActionLabel = ''
 
 $_sTmplContentCounter = ''
 
 $_sTmplContentCounterLabel = ''
 

Detailed Description

Base class for all "Object" classes. Child classes usually represents high level programming constructions to generate ready 'objects' functionality, like Comments, Votings, Forms.

Member Function Documentation

◆ _getAuthorId()

BxDolObject::_getAuthorId ( )
protected

Internal functions

◆ _prepareParamsData()

BxDolObject::_prepareParamsData ( $aParams)
protected

Reimplemented in BxBaseVote, and BxBaseVoteReactions.

◆ _replaceMarkers()

BxDolObject::_replaceMarkers ( $mixed)
protected

Replace provided markers in a string

Parameters
$mixedstring or array to replace markers in
Returns
string where all occured markers are replaced

◆ _trigger()

BxDolObject::_trigger ( )
protected

Update Trigger table using data which is automatically gotten from object's internal table.

◆ _triggerValue()

BxDolObject::_triggerValue ( $iValue)
protected

Update (increment/decrement) Trigger table using provided value.

◆ addMarkers()

BxDolObject::addMarkers ( $aMarkers)

Implements iBxDolReplaceable.

◆ checkAction()

BxDolObject::checkAction ( $sAction,
$isPerformAction = false )

Permissions functions

◆ getConditions()

BxDolObject::getConditions ( $sMainTable,
$sMainField )

Interface functions for outer usage

◆ getQueryObject()

BxDolObject::getQueryObject ( )

Database functions

◆ onObjectDelete()

BxDolObject::onObjectDelete ( $iObjectId = 0)

Actions' response functions


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