Zend Framework
3.0
|
Concrete class for generating debug dumps related to the output source. More...
Static Public Member Functions | |
static | getSapi () |
Get the current value of the debug output environment. | |
static | setSapi ($sapi) |
Set the debug output environment. | |
static | setEscaper (Escaper $escaper) |
Set Escaper instance. | |
static | getEscaper () |
Get Escaper instance. | |
static | dump ($var, $label=null, $echo=true) |
Debug helper function. | |
Static Protected Attributes | |
static | $escaper = null |
static | $sapi = null |
Concrete class for generating debug dumps related to the output source.
|
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 |
|
static |
Get the current value of the debug output environment.
This defaults to the value of PHP_SAPI.
|
static |
Set the debug output environment.
Setting a value of null causes Zend to use PHP_SAPI.
string | $sapi |
|
staticprotected |
|
staticprotected |