Static Public Member Functions | |
| static | callFrom ($nb=1, $sep='-') |
| static | trace ($obj, $printExit=false) |
| static | errorHandler ($code, $message, $file, $line) |
| static | debugger (array $elts=null) |
| static | timer ($name=null) |
Static Private Member Functions | |
| static | initCfg () |
Static Private Attributes | |
| static | $cfg |
| static | $timer = array() |
Debugging class
Definition at line 10 of file debug.class.php.
| static callFrom | ( | $ | nb = 1, |
|
| $ | sep = '-' | |||
| ) | [static] |
retrieve the function where the call come from
| 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 |
Definition at line 38 of file debug.class.php.
| static debugger | ( | array $ | elts = null |
) | [static] |
Get the HTML for the debugger, and add the CSS and JS to the response
| array | $elts |
Definition at line 88 of file debug.class.php.
| static errorHandler | ( | $ | code, | |
| $ | message, | |||
| $ | file, | |||
| $ | line | |||
| ) | [static] |
Definition at line 64 of file debug.class.php.
| static initCfg | ( | ) | [static, private] |
Definition at line 26 of file debug.class.php.
| static timer | ( | $ | name = null |
) | [static] |
Starts or ends a timer
| string | $name Timer name |
Definition at line 144 of file debug.class.php.
| static trace | ( | $ | obj, | |
| $ | printExit = false | |||
| ) | [static] |
Return a string for debug an element/object to debug
| mixed | $obj: The object to show | |
| bool | $printExit: true or 1 to print the result, 2 for print and exit |
Definition at line 54 of file debug.class.php.
$cfg [static, private] |
Definition at line 17 of file debug.class.php.
$timer = array() [static, private] |
Definition at line 24 of file debug.class.php.
1.7.1