API15:JException/getTrace
From Joomla! Documentation
Description
Method to get the array of the backtrace()
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
getTrace()
Returns
array backtrace
Defined in
libraries/joomla/error/exception.php
Importing
jimport( 'joomla.error.exception' );
Source Body
function getTrace()
{
if (isset( $this ) && isset( $this->backtrace )) {
$trace = &$this->backtrace;
} else {
$trace = function_exists( 'debug_backtrace' ) ? debug_backtrace() : null;
}
return $trace;
}
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
Code Examples