| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Source view] [Print] [Project Stats]
patError error object used by the patFormsError manager as error messages container for precise error management. $Id: patError.php 12694 2009-09-11 21:03:02Z ian $
| File Size: | 297 lines (6 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
patError:: (9 methods):
patError()
__construct()
getLevel()
getMessage()
getInfo()
getCode()
getBacktrace()
getFile()
getLine()
| patError( $level, $code, $msg, $info = null ) X-Ref |
| constructor, wrapper for the upcoming PHP5 constructors for upward compatibility. param: int $level The error level (use the PHP constants E_ALL, E_NOTICE etc.). param: string $code The error code from the application param: string $msg The error message param: string $info Optional: The additional error information. |
| __construct( $level, $code, $msg, $info = null ) X-Ref |
| constructor - used to set up the error with all needed error details. param: int $level The error level (use the PHP constants E_ALL, E_NOTICE etc.). param: string $code The error code from the application param: string $msg The error message param: string $info Optional: The additional error information. |
| getLevel() X-Ref |
| returns the error level of the error - corresponds to the PHP error levels (E_ALL, E_NOTICE...) return: int $level The error level |
| getMessage() X-Ref |
| retrieves the error message return: string $msg The stored error message |
| getInfo() X-Ref |
| retrieves the additional error information (information usually only relevant for developers) return: mixed $info The additional information |
| getCode() X-Ref |
| recieve error code return: string|integer error code (may be a string or an integer) |
| getBacktrace( $formatted=false ) X-Ref |
| get the backtrace This is only possible, if debug_backtrace() is available. return: array backtrace |
| getFile() X-Ref |
| get the filename in which the error occured This is only possible, if debug_backtrace() is available. return: string filename |
| getLine() X-Ref |
| get the line number in which the error occured This is only possible, if debug_backtrace() is available. return: integer line number |
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |