Zend Framework  1.12
Static Public Member Functions | Static Protected Attributes | List of all members
Zend_Debug Class Reference

Static Public Member Functions

static getSapi ()
 Get the current value of the debug output environment.
 
static setSapi ($sapi)
 Set the debug ouput environment.
 
static dump ($var, $label=null, $echo=true)
 Debug helper function.
 

Static Protected Attributes

static $_sapi = null
 

Member Function Documentation

static dump (   $var,
  $label = null,
  $echo = true 
)
static

Debug helper function.

This is a wrapper for var_dump() that adds the

 tags, cleans up newlines and indents, and runs
htmlentities() before output.
Parameters
mixed$varThe variable to dump.
string$labelOPTIONAL Label to prepend to output.
bool$echoOPTIONAL Echo output if true.
Returns
string
static getSapi ( )
static

Get the current value of the debug output environment.

This defaults to the value of PHP_SAPI.

Returns
string;
static setSapi (   $sapi)
static

Set the debug ouput environment.

Setting a value of null causes Zend_Debug to use PHP_SAPI.

Parameters
string$sapi
Returns
void;

Member Data Documentation

$_sapi = null
staticprotected