|
| add ($sName, $iFrequency, $sServiceCall, $bActive=true, $mixedValue=false) |
|
| perform () |
|
◆ 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