API15:JException/getTrace
From Joomla! Documentation
Description
Method to get the array of the backtrace()
Template:Description:JException/getTrace
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;
}
[Edit See Also] Template:SeeAlso:JException/getTrace
Examples
<CodeExamplesForm />