HTML_Progress::run
displays status of the progress meter, while the user-task is running
Synopsis
require_once 'HTML/Progress.php';
void
HTML_Progress::run()
Description
This method manage display of the progress meter (both modes: determinate and indeterminate)
and run the user callback.
Note
( HTML_Progress >= 1.2.0RC3 )
| This function can not be called statically. |
| This function is an easy way to manage a progress meter with
the Master-Progress behavior. |
| The Master-Progress behavior give a full control to progress meter:
decides when to display new status, and call your user task.
The Slave-Progress behavior is the opposite way. It's up to you
to choose when display the new status of the progress meter. |
See
HTML_Progress::setAnimSpeed,
HTML_Progress::process,
HTML_Progress::sleep,
HTML_Progress::setProgressHandler
Example
See example of HTML_Progress::sleep.