Class Zend_Debug

Description

Concrete class for handling view scripts.

  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Debug.php (line 30)


	
			
Variable Summary
 static string $_sapi
Method Summary
 static string dump (mixed $var, [string $label = null], [bool $echo = true])
 static string; getSapi ()
 static void; setSapi (string $sapi)
Variables
static string $_sapi = null (line 36)
  • access: protected
Methods
static dump (line 74)

Debug helper function. This is a wrapper for var_dump() that adds the <pre /> tags, cleans up newlines and indents, and runs htmlentities() before output.

  • access: public
static string dump (mixed $var, [string $label = null], [bool $echo = true])
  • mixed $var: The variable to dump.
  • string $label: OPTIONAL Label to prepend to output.
  • bool $echo: OPTIONAL Echo output if true.
static getSapi (line 44)

Get the current value of the debug output environment.

This defaults to the value of PHP_SAPI.

  • access: public
static string; getSapi ()
static setSapi (line 59)

Set the debug ouput environment.

Setting a value of null causes Zend_Debug to use PHP_SAPI.

  • access: public
static void; setSapi (string $sapi)
  • string $sapi

Documentation generated on Sun, 27 May 2007 23:22:28 -0700 by phpDocumentor 1.3.2