TIMER

External objects

Properties Methods 

Properties

$autoresetThe timer will reset its parameters after returning from a evTimer.
$queueeventIf true,the event will be queued PLUS the timer will need to be reset manually regardless of $autoreset setting
$reentrantIf true,the timer event can be generated while the previous timer event is being processed
$timeleftThe amount of time left until the timer will expire (if the timer is a millisecond timer then the value is an integer, otherwise it is a date value containing the time left)
$timervalueThe duration of the timer
$usesecondsIf true,$timervalue is a value in seconds; otherwise it is a value in milliseconds

Methods

$resettimerStops,and then restarts the timer,using the current value of $timervalue
$starttimerStarts the timer,using the current value of $timervalue
$stoptimerStops the timer
$timerMethod called when the timer has expired