HTML_Progress::raiseError

HTML_Progress

Prev |  | Next
HTML_Progress::raiseError sets the progress meter identification string ## Synopsis require_once 'HTML/Progress.php'; void HTML_Progress::raiseError( string $code string $level array $params) ## Description This method is used to raise an API error and push it to the HTML_Progress stack. Default behavior will returns a PEAR_Error object. ## Parameter integer $code the error code (a valid HTML_PROGRESS_ERROR_* constant). string $level the error level ('exception', 'error', 'warning'). array $params an associative array of error parameters. ## Note ( HTML_Progress >= 1.2.0RC1, PEAR )
| This function can be called statically.
| This method obey to http://www.php.net/manual/en/function.error-reporting.php protocol.
| The HTML_Progress error stack follows the same PEAR_ErrorStack structure: associative array with keys 'code', 'params', 'package', 'level', 'time', 'context'.
## See HTML_Progress::hasErrors, HTML_Progress::getError
Prev | Up | Next
HTML_Progress::getListeners | Reference Guide | HTML_Progress::hasErrors
Documentation generated on Sun, 12 Sep 2004 20:23:13 +0200 by phpDocumentor 1.3.0RC3