spunQ_Backtrace Class Reference

Wrapper for the php function debug_backtrace(). More...

List of all members.

Public Member Functions

 __construct ($trace=NULL)
 Constructor.
 getSlices ()
 Returns all slices of this backtrace, ordered from last call to first call.
 __toString ()
 Converts this backtrace to string.
 toString ($indent= '')
 Converts this backtrace to string.

Private Attributes

 $slices = NULL
 Multiple spunQ_BacktraceSlice objects, ordered from last call to first call.
 $trace
 The intermediate storage for the backtrace as returned by debug_backtrace().


Detailed Description

Wrapper for the php function debug_backtrace().

Definition at line 6 of file Backtrace.class.php.


Constructor & Destructor Documentation

spunQ_Backtrace::__construct ( trace = NULL  ) 

Constructor.

Parameters:
$trace A backtrace as provided by PHP (debug_backtrace()).

Definition at line 26 of file Backtrace.class.php.


Member Function Documentation

spunQ_Backtrace::__toString (  ) 

Converts this backtrace to string.

Returns:
string

Definition at line 71 of file Backtrace.class.php.

spunQ_Backtrace::getSlices (  ) 

Returns all slices of this backtrace, ordered from last call to first call.

Returns:
array<spunQ_BacktraceSlice>

Definition at line 47 of file Backtrace.class.php.

spunQ_Backtrace::toString ( indent = ''  ) 

Converts this backtrace to string.

Parameters:
$indent The amount of indent to use for the code.
Returns:
string

Definition at line 80 of file Backtrace.class.php.


Member Data Documentation

spunQ_Backtrace::$slices = NULL [private]

Multiple spunQ_BacktraceSlice objects, ordered from last call to first call.

Will be initialized upon first call to getSlices().

Type:
array<spunQ_BacktraceSlice>

Definition at line 13 of file Backtrace.class.php.

spunQ_Backtrace::$trace [private]

The intermediate storage for the backtrace as returned by debug_backtrace().

Will be used to create the slices once they are requested.

Type:
array

Definition at line 20 of file Backtrace.class.php.


The documentation for this class was generated from the following file:

Generated on Fri Jul 1 11:12:38 2011 for spunQ3 by  doxygen 1.5.9