spunQ_BacktraceSlice Class Reference

A slice for the spunQ_Backtrace. More...

List of all members.

Public Member Functions

 __construct ($file, $line, $calledFunction)
 Constructor.
 getFile ()
 The file in which the call was done.
 getLine ()
 The line of the file in which the call was done.
 getCalledFunction ()
 The function that was called.
 getScopingFunction ()
 The function in which the call was made.
 _setPreviousSlice ($previousSlice)
 Sets the previous slice.
 toString ($sliceNo)
 Converts this slice to string.

Private Attributes

 $file
 The file in which the call was done.
 $line
 The line of the file in which the call was done.
 $calledFunction
 The function that was called.
 $previousSlice
 The in which this slice was created.


Detailed Description

A slice for the spunQ_Backtrace.

An instance is created for each function call that was performed. Do not instantiate this clas directly! Use spunQ_Backtrace instead.

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


Constructor & Destructor Documentation

spunQ_BacktraceSlice::__construct ( file,
line,
calledFunction 
)

Constructor.

Parameters:
$file The file in which the call was done.
$line The line of the file in which the call was done.
$calledFunction The function that was called.

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


Member Function Documentation

spunQ_BacktraceSlice::_setPreviousSlice ( previousSlice  ) 

Sets the previous slice.

Parameters:
$previousSlice The previous spunQ_BacktraceSlice object.
Returns:
spunQ_BacktraceSlice $this

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

spunQ_BacktraceSlice::getCalledFunction (  ) 

The function that was called.

Returns:
string

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

spunQ_BacktraceSlice::getFile (  ) 

The file in which the call was done.

Returns:
string

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

spunQ_BacktraceSlice::getLine (  ) 

The line of the file in which the call was done.

Returns:
integer

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

spunQ_BacktraceSlice::getScopingFunction (  ) 

The function in which the call was made.

Returns:
string

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

spunQ_BacktraceSlice::toString ( sliceNo  ) 

Converts this slice to string.

Parameters:
$sliceNo The number of this slice.
Returns:
string

Definition at line 179 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