Zend Framework
1.12
|
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 |
|
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.
mixed | $var | The variable to dump. |
string | $label | OPTIONAL Label to prepend to output. |
bool | $echo | OPTIONAL Echo output if true. |
|
static |
Get the current value of the debug output environment.
This defaults to the value of PHP_SAPI.
|
static |
Set the debug ouput environment.
Setting a value of null causes Zend_Debug to use PHP_SAPI.
string | $sapi |
|
staticprotected |