Class DebugItem

Description

the DebugItem class holds debug text, a detail level and a category.

  • version: $Id: DebugItem.class.php,v 1.3 2005/01/19 21:09:59 adamfranco Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright © 2005, Middlebury College

Located in /harmoni/core/debugHandler/DebugItem.class.php (line 16)


	
			
Variable Summary
array $_backtrace
int $_level
int $_text
Method Summary
void DebugItem (mixed $text, [mixed $level = 5], [mixed $category = "general"])
array getBacktrace ()
string getCategory ()
int getLevel ()
string getText ()
void setBacktrace (array $backtrace)
Variables
array $_backtrace (line 40)
  • access: private
int $_category (line 28)
  • var: The debug category.
  • access: private
int $_level (line 22)
  • var: The debug detail level.
  • access: private
int $_text (line 34)
  • var: The debug text.
  • access: private
Methods
Constructor DebugItem (line 48)

The constructor.

  • access: public
void DebugItem (mixed $text, [mixed $level = 5], [mixed $category = "general"])
getBacktrace (line 99)

Returns the backtrace array.

  • access: public
array getBacktrace ()
getCategory (line 69)

Returns the category of the debug text.

  • return: The category.
  • access: public
string getCategory ()
getLevel (line 60)

Returns the level (0-9) of the debug text.

  • return: The debug level.
  • access: public
int getLevel ()
getText (line 79)

Returns the DebugItem's text.

  • return: The text.
  • access: public
string getText ()
setBacktrace (line 90)

Sets this Item's debug backtrace array.

  • access: public
void setBacktrace (array $backtrace)
  • array $backtrace

Documentation generated on Wed, 19 Sep 2007 10:22:40 -0400 by phpDocumentor 1.3.0RC3