Debugging class
Definition at line 10 of file debug.class.php.
◆ callFrom()
static callFrom |
( |
|
$nb = 1 , |
|
|
|
$sep = '-' |
|
) |
| |
|
static |
retrieve the function where the call come from
- Parameters
-
int | $nb | Recursion number |
null | string | $sep | Seperator for the return between the className and the function name If null, only the className is returned |
- Returns
- string CLASS.$sep.FUNCTION
Definition at line 38 of file debug.class.php.
◆ debugger()
static debugger |
( |
array |
$elts = null | ) |
|
|
static |
Get the HTML for the debugger, and add the CSS and JS to the response
- Parameters
-
- Returns
- string
Definition at line 88 of file debug.class.php.
◆ errorHandler()
static errorHandler |
( |
|
$code, |
|
|
|
$message, |
|
|
|
$file, |
|
|
|
$line |
|
) |
| |
|
static |
◆ initCfg()
◆ timer()
static timer |
( |
|
$name = null | ) |
|
|
static |
Starts or ends a timer
- Parameters
-
- Returns
- unknown
Definition at line 144 of file debug.class.php.
◆ trace()
static trace |
( |
|
$obj, |
|
|
|
$printExit = false |
|
) |
| |
|
static |
Return a string for debug an element/object to debug
- Parameters
-
mixed | $obj, | The object to show |
bool | $printExit, | true or 1 to print the result, 2 for print and exit |
- Returns
- string
Definition at line 54 of file debug.class.php.
◆ $cfg
◆ $timer
The documentation for this class was generated from the following file: