Class debug

Description

The debug class is a static abstract class that holds wrapper functions for the DebugHandler service in Harmoni.

  • static:
  • version: $Id: debug.class.php,v 1.19 2007/09/04 20:25:33 adamfranco Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright © 2005, Middlebury College
  • see: DebugHandlerInterface

Located in /harmoni/core/debugHandler/debug.class.php (line 19)


	
			
Method Summary
integer level ([optional $level = null])
void output (mixed $text, [mixed $level = 5], [mixed $category = "general"])
void printAll ([mixed $debugPrinter = null])
void printQuery (object Query $query)
Methods
level (line 46)

Sets the DebugHandler service's output level to $level. If not specified will return the current output level.

  • return: The current debug output level.
  • access: public
  • static:
integer level ([optional $level = null])
  • optional $level: integer $level
output (line 26)

Sends $text to the DebugHandler with level $level and category $category.

  • access: public
  • static:
void output (mixed $text, [mixed $level = 5], [mixed $category = "general"])
printAll (line 63)

Prints current debug output using NewWindowDebugHandlerPrinter

  • access: public
void printAll ([mixed $debugPrinter = null])
printQuery (line 83)

Print the MySQL version of a query

  • since: 3/2/05
  • access: public
void printQuery (object Query $query)

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