|
| init ($aParams=array()) |
| add ($sName, $iFrequency, $sServiceCall, $bActive=true, $mixedValue=false) |
| __clone () |
| perform () |
| performApi () |
|
static | getInstance () |
| _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) |
| $_oQuery |
| $_aSystems |
| $_aSystemsActive |
| $_aSystemsTransient |
| $_iProfileId |
| $_iInterval |
| $_oCacheObject |
| $_sCacheKeySystems |
| $_sCacheKeyData |
| $_iCacheTTL |
| $_sJsClass |
| $_sJsObject |
◆ __construct()
BxBaseLiveUpdates::__construct |
( |
| ) |
|
◆ add()
BxBaseLiveUpdates::add |
( |
| $sName, |
|
|
| $iFrequency, |
|
|
| $sServiceCall, |
|
|
| $bActive = true, |
|
|
| $mixedValue = false ) |
Add transient live update for current user on this current page.
- Parameters
-
string | $sName | - unique name. |
integer | $iFrequency | - call frequency. |
string | $sServiceCall | - serialized service call. |
boolean | $bActive | - add active/not active live update. |
mixed | $mixedValue | - a value (mainly integer) which will be used as initial value. When it's false then initial data will be gotten automatically using provided serialized service call. |
The documentation for this class was generated from the following file:
- template/scripts/BxBaseLiveUpdates.php