Class \Prado\Web\UI\ActiveControls\TTimeTriggeredCallback
TTimeTriggeredCallback class.
TTimeTriggeredCallback sends callback request every \Prado\Web\UI\ActiveControls\setInterval seconds. Upon each callback request, the \Prado\Web\UI\ActiveControls\onCallback event is raised.
The timer can be started by calling startTimer() and stopped using stopTimer(). The timer can be automatically started when \Prado\Web\UI\ActiveControls\setStartTimerOnLoad is true.
Class hierarchy
- \Prado\Web\UI\ActiveControls\TTimeTriggeredCallback
- \Prado\Web\UI\ActiveControls\TCallback implements IActiveControl, ICallbackEventHandler
- \Prado\Web\UI\TControl implements IRenderable, IBindable
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 3.1
public
|
|
public
|
|
public
|
render(THtmlWriter $writer) : mixed
Registers the javascript code for initializing the active control.
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
|
|
protected
|