UNA
Loading...
Searching...
No Matches
BxDolLiveUpdates Class Reference
Inheritance diagram for BxDolLiveUpdates:
BxDolFactory iBxDolSingleton BxBaseLiveUpdates BxTemplLiveUpdates

Public Member Functions

 __clone ()
 
 perform ()
 

Static Public Member Functions

static getInstance ()
 

Protected Member Functions

 __construct ()
 
 _addSystem ($sName, $iFrequency, $sServiceCall, $mixedActive=true)
 
 _addData ($sName, $iValue)
 
 _getCacheInfo ($sType)
 
 _getCacheKey ($sType)
 
 _getCached ($sType)
 
 _getCachedSystems ()
 
 _getCachedData ($bInit=false)
 
 _clearCached ()
 
 _updateCached ($sType, $aData)
 
 _getRequestedData ($iIndex=0, $bIndexCheck=false, $aCachedData=array())
 
 _getRequestedDataBySystem ($aSystem, $iCachedData=0, $bInit=true)
 
 _getPageId ()
 
 _encodeHash ()
 
 _decodeHash ($sHash)
 

Protected Attributes

 $_oQuery
 
 $_aSystems
 
 $_aSystemsActive
 
 $_aSystemsTransient
 
 $_iProfileId
 
 $_iInterval
 
 $_oCacheObject
 
 $_sCacheKeySystems
 
 $_sCacheKeyData
 
 $_iCacheTTL
 
 $_sJsClass
 
 $_sJsObject
 

Constructor & Destructor Documentation

◆ __construct()

BxDolLiveUpdates::__construct ( )
protected

Note. Currently Live Updates are associated with profiles (Profile ID) and therefore they are used for logged in members only. If it's needed Session ID can be used instead of Profile ID. In this case Live Updates can be used for visitors too. Don't forget to update BxBaseLiveUpdates\init if Session ID will be used.

Reimplemented from BxDolFactory.

Member Function Documentation

◆ getInstance()

static BxDolLiveUpdates::getInstance ( )
static

get live updates instanse

Returns
ready to use class instance

Implements iBxDolSingleton.

◆ perform()

BxDolLiveUpdates::perform ( )

Is called via Ajax Requests only.


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