PHP Class Prado\Web\UI\ActiveControls\TValueTriggeredCallback
Observes the value with {@link setPropertyName PropertyName} of a
control with {@link setControlID ControlID}. Changes to the observed
property value will trigger a new callback request. The property value is checked
for changes every{@link setInterval Interval} seconds.
A {@link setDecayRate DecayRate} can be set to increase the polling
interval linearly if no changes are observed. Once a change is
observed, the polling interval is reset to the original value.
Afficher le fichier
Open project: pradosoft/prado
Méthodes publiques
Méthode |
Description |
|
getDecayRate ( ) : float |
Gets the decay rate between callbacks. Default is 0; |
|
getInterval ( ) : float |
|
|
getPropertyName ( ) : string |
|
|
render ( $writer ) |
Registers the javascript code for initializing the active control. |
|
setDecayRate ( $value ) |
Sets the decay rate between callback. Default is 0; |
|
setInterval ( $value ) |
Sets the polling interval in seconds to observe property changes. |
|
setPropertyName ( $value ) |
Sets the control property name to observe value changes that fires the callback request. |
|
Méthodes protégées
Method Details
getClientClassName()
protected méthode
getDecayRate()
public méthode
Gets the decay rate between callbacks. Default is 0;
getInterval()
public méthode
getPropertyName()
public méthode
getTriggerOptions()
protected méthode
Registers the javascript code for initializing the active control.
setDecayRate()
public méthode
Sets the decay rate between callback. Default is 0;
setInterval()
public méthode
setPropertyName()
public méthode
Sets the control property name to observe value changes that fires the callback request.