| [ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 146 lines (4 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Horde_Support_Backtrace:: (8 methods):
__construct()
createFromDebugBacktrace()
createFromException()
getNestingLevel()
getContext()
getCurrentContext()
getCallingContext()
__toString()
Class: Horde_Support_Backtrace - X-Ref
Wrapper around backtraces providing utility methods.| __construct($backtrace = null) X-Ref |
| Constructor. param: Exception|array $backtrace The backtrace source. Either an |
| createFromDebugBacktrace($backtrace, $nestingLevel = 0) X-Ref |
| Wraps the result of debug_backtrace(). By specifying a non-zero $nestingLevel, levels of the backtrace can be ignored. For instance, when Horde_Support_Backtrace creates a backtrace for you, it ignores the Horde_Backtrace constructor in the wrapped trace. param: array $backtrace The debug_backtrace() result. param: integer $nestingLevel The number of levels of the backtrace to |
| createFromException(Exception $e) X-Ref |
| Wraps an Exception object's backtrace. param: Exception $e The exception to wrap. |
| getNestingLevel() X-Ref |
| Returns the nesting level (number of calls deep) of the current context. return: integer Nesting level. |
| getContext($nestingLevel) X-Ref |
| Returns the context at a specific nesting level. param: integer $nestingLevel 0 == current level, 1 == caller, and so on return: array The requested context. |
| getCurrentContext() X-Ref |
| Returns details about the routine where the exception occurred. return: array $caller |
| getCallingContext() X-Ref |
| Returns details about the caller of the routine where the exception occurred. return: array $caller |
| __toString() X-Ref |
| Returns a simple, human-readable list of the complete backtrace. return: string The backtrace map. |
| Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |