HTML_Progress_Monitor::setProgressElement

HTML_Progress

Prev |  | Next
HTML_Progress_Monitor::setProgressElement attachs a progress bar to the monitor ## Synopsis require_once 'HTML/Progress/monitor.php'; void HTML_Progress_Monitor::setProgressElement( object $bar) ## Description This method is used to attach a new progress bar to the current monitor. All progress events will be send to this monitor thru the listen interface (HTML_Progress_Monitor::notify). ## Parameter object $bar a html_progress instance ## Throws

Possible PEAR_Error values

Error level | Error code | Error message | Solution
exception | HTML_PROGRESS_ERROR_INVALID_INPUT | invalid input, parameter #1 "$val" was expecting (HTML_Progress object) | Fixed the cast of parameter
## Note ( HTML_Progress >= 1.1 )
| This function can not be called statically.
## See HTML_Progress_Monitor::getProgressElement ## Example See example of HTML_Progress_Monitor::run.
Prev | Up | Next
HTML_Progress_Monitor::run | Reference Guide | HTML_Progress_Monitor::getProgressElement
Documentation generated on Sun, 12 Sep 2004 20:23:34 +0200 by phpDocumentor 1.3.0RC3