API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
patError::__construct | ( | $ | level, |
$ | code, | ||
$ | msg, | ||
$ | info = null |
||
) |
constructor - used to set up the error with all needed error details.
public
int | $level | The error level (use the PHP constants E_ALL, E_NOTICE etc.). |
string | $code | The error code from the application |
string | $msg | The error message |
string | $info | Optional: The additional error information. |
Références $code, $i, $info, $level, et type.
Référencé par patError().
patError::getBacktrace | ( | $ | formatted = false | ) |
get the backtrace
This is only possible, if debug_backtrace() is available.
public
patError::getCode | ( | ) |
recieve error code
public
patError::getFile | ( | ) |
get the filename in which the error occured
This is only possible, if debug_backtrace() is available.
public
patError::getInfo | ( | ) |
retrieves the additional error information (information usually only relevant for developers)
public
patError::getLevel | ( | ) |
returns the error level of the error - corresponds to the PHP error levels (E_ALL, E_NOTICE...)
public
patError::getLine | ( | ) |
get the line number in which the error occured
This is only possible, if debug_backtrace() is available.
public
patError::getMessage | ( | ) |
retrieves the error message
public
patError::patError | ( | $ | level, |
$ | code, | ||
$ | msg, | ||
$ | info = null |
||
) |
constructor, wrapper for the upcoming PHP5 constructors for upward compatibility.
public
int | $level | The error level (use the PHP constants E_ALL, E_NOTICE etc.). |
string | $code | The error code from the application |
string | $msg | The error message |
string | $info | Optional: The additional error information. |
Références $code, $info, $level, et __construct().
patError::$args = array() |
patError::$backtrace = false |
patError::$class = '' |
patError::$code = null |
Référencé par __construct(), et patError().
patError::$file = '' |
patError::$function = '' |
patError::$info = '' |
Référencé par __construct(), et patError().
patError::$level = null |
Référencé par __construct(), et patError().
patError::$line = 0 |
patError::$message = null |
patError::$type = '' |