Static Public Member Functions | Static Protected Attributes

Zend_Debug Class Reference

Static Public Member Functions

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

Static Protected Attributes

static $_sapi = null

Detailed Description

Definition at line 31 of file Debug.php.


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

Definition at line 75 of file Debug.php.

static getSapi (  ) [static]

Get the current value of the debug output environment. This defaults to the value of PHP_SAPI.

Returns:
string;

Definition at line 45 of file Debug.php.

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;

Definition at line 60 of file Debug.php.


The documentation for this class was generated from the following file: