HTML_Progress::setProgressHandler

HTML_Progress

Prev |  | Next
HTML_Progress::setProgressHandler sets the user callback of the progress meter ## Synopsis require_once 'HTML/Progress.php'; void HTML_Progress::setProgressHandler( mixed $handler) ## Description This method defines the user process to execute while the progress meter is running. This user callback is called by HTML_Progress::process in the do-while loop of the HTML_Progress::run method. ## Parameter mixed $handler a valid callback ## Throws

Possible PEAR_Error values

Error level | Error code | Error message | Solution
warning | HTML_PROGRESS_ERROR_INVALID_CALLBACK | invalid callback, parameter #1 "$handler" expecting "(a valid callback)" | Fixed the user-callback reference
## Note ( HTML_Progress >= 1.2.0RC3 )
| This function can not be called statically.
## See HTML_Progress::setAnimSpeed, HTML_Progress::process, HTML_Progress::sleep, HTML_Progress::run ## Example See example of HTML_Progress::sleep.
Prev | Up | Next
HTML_Progress::sleep | Reference Guide | HTML_Progress::run
Documentation generated on Sun, 12 Sep 2004 20:23:02 +0200 by phpDocumentor 1.3.0RC3