| [ Index ] |
|
Code source de Joomla 1.0.13 |
[Code source] [Imprimer] [Statistiques]
patError error object used by the patFormsError manager as error messages container for precise error management. $Id: patError.php 49 2005-09-15 02:55:27Z rhuk $
| Poids: | 297 lignes (6 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
patError:: (9 méthodes):
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 |
| Généré le : Wed Nov 21 14:43:32 2007 | par Balluche grâce à PHPXref 0.7 |
|