 |
|
Innovation award
 Nominee: 8x |
This class can be used to make PHP call a function after a period of time.
It can register one or more callback functions that should be called after a given timeout value or every time after a given period of time elapses.
The class registers a single callback function to handle PHP tick calls. That function takes care of calling all registered timer callback functions.
|
|
| Name: |
setTimeout and setInterval |
| Base name: |
callback_timers |
| Description: |
Call a function after a period of time |
| Version: |
0.5 |
| PHP version: |
5.0 |
| License: |
MIT/X Consortium License |
| All time users: |
1155 users |
| All time rank: |
2847 |
| Week users: |
0 users |
| Week rank: |
2020  |
| |
|
 August 2009
Number 7
Prize: One downloadable e-book of choice by O'Reilly |
Some applications have scripts that need to execute tasks that take a long time to execute.
In some cases, it is convenient to execute code periodically during the execution of such long tasks, like for instance to update information about the tasks' progress.
This class provides a generic solution for regularly calling application defined code during the execution of a long task.
Manuel Lemos |
| There are not enough user ratings to display for this class. |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|