Ubiquity debug class.
More...
|
static | showTraces ($traces) |
|
static | getGlobales ($variables) |
|
static | getLocales () |
|
static | displayVar ($variable) |
|
static | isRecursive ($array) |
|
static | errorFlag ($message, $type='exclamation triangle red') |
|
static | showAllVariables () |
|
static | showVariables ($variables, $errors=[]) |
|
static | showVariable ($name, array $variables, array $errors=[], $level=1) |
|
static | showTrace ($trace, $index) |
|
static | getCallbackArguments ($file, $lineNumber, $callbackName) |
|
static | getMethodParametersTable ($functionName) |
|
static | getErrorFromValues ($file, $line, $errorMessage, $errorType, $traces='', $introspect=true) |
|
static | wrapResponse ($content) |
|
static | getHeader () |
|
static | getFooter () |
|
static | getFileContent ($file) |
|
static | loadView ($name, $data) |
|
Ubiquity debug class.
Ubiquity$Debugger This class is part of Ubiquity
- Author
- jc
- Version
- 1.0.2
Definition at line 25 of file Debugger.php.
◆ _error_handler()
static _error_handler |
( |
|
$buffer | ) |
|
|
static |
◆ displayVar()
static displayVar |
( |
|
$variable | ) |
|
|
staticprivate |
◆ errorFlag()
static errorFlag |
( |
|
$message, |
|
|
|
$type = 'exclamation triangle red' |
|
) |
| |
|
staticprivate |
◆ getCallbackArguments()
static getCallbackArguments |
( |
|
$file, |
|
|
|
$lineNumber, |
|
|
|
$callbackName |
|
) |
| |
|
staticprivate |
◆ getErrorFromValues()
static getErrorFromValues |
( |
|
$file, |
|
|
|
$line, |
|
|
|
$errorMessage, |
|
|
|
$errorType, |
|
|
|
$traces = '' , |
|
|
|
$introspect = true |
|
) |
| |
|
staticprivate |
◆ getFileContent()
static getFileContent |
( |
|
$file | ) |
|
|
staticprivate |
◆ getFooter()
◆ getGlobales()
static getGlobales |
( |
|
$variables | ) |
|
|
staticprivate |
◆ getHeader()
◆ getLocales()
◆ getMethodParametersTable()
static getMethodParametersTable |
( |
|
$functionName | ) |
|
|
staticprivate |
◆ isRecursive()
static isRecursive |
( |
|
$array | ) |
|
|
staticprivate |
◆ loadView()
static loadView |
( |
|
$name, |
|
|
|
$data |
|
) |
| |
|
staticprivate |
◆ setErrorLevel()
static setErrorLevel |
( |
int |
$level = E_ALL | ) |
|
|
static |
Set the error level (default E_ALL).
- Parameters
-
Definition at line 75 of file Debugger.php.
◆ showAllVariables()
static showAllVariables |
( |
| ) |
|
|
staticprivate |
◆ showException()
static showException |
( |
\Throwable |
$e | ) |
|
|
static |
◆ showTrace()
static showTrace |
( |
|
$trace, |
|
|
|
$index |
|
) |
| |
|
staticprivate |
◆ showTraces()
static showTraces |
( |
|
$traces | ) |
|
|
staticprivate |
◆ showVariable()
static showVariable |
( |
|
$name, |
|
|
array |
$variables, |
|
|
array |
$errors = [] , |
|
|
|
$level = 1 |
|
) |
| |
|
staticprivate |
◆ showVariables()
static showVariables |
( |
|
$variables, |
|
|
|
$errors = [] |
|
) |
| |
|
staticprivate |
◆ start()
static start |
( |
& |
$config, |
|
|
int |
$level = E_ALL |
|
) |
| |
|
static |
◆ wrapResponse()
static wrapResponse |
( |
|
$content | ) |
|
|
staticprivate |
◆ $variables
const static $variables = [] |
|
staticprivate |
◆ CONTEXT_VARIABLES
Initial value:= [
'globals' => [
'_SESSION',
'_POST',
'_GET',
'_REQUEST',
'_SERVER',
'_COOKIE',
'_FILES'
]
Definition at line 27 of file Debugger.php.
The documentation for this class was generated from the following file: