API15:JException/getTrace
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
Contents |
Description
Method to get the array of the backtrace()
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] SeeAlso:JException/getTrace
Examples
<CodeExamplesForm />
