API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Public Member Functions | |
__construct (Parser $p, Renderer $r) | |
setParser (Parser $p) | |
getParser () | |
setRenderer (Renderer $r) | |
getRenderer () | |
setStatesFromStatics (array $statics) | |
setStatesFromCallInfo (array $info) | |
dumpAll (array $vars, array $base) | |
dumpVar (&$var, BasicObject $base) | |
Static Public Member Functions | |
static | getStatics () |
static | getBasesFromParamInfo (array $params, $argc) |
static | trace () |
static | dump () |
static | shortenPath ($file) |
static | getIdeLink ($file, $line) |
Data Fields | |
const | MODE_RICH = 'r' |
const | MODE_TEXT = 't' |
const | MODE_CLI = 'c' |
const | MODE_PLAIN = 'p' |
Static Public Attributes | |
static | $enabled_mode = true |
static | $mode_default = self::MODE_RICH |
static | $mode_default_cli = self::MODE_CLI |
static | $return |
static | $file_link_format = '' |
static | $display_called_from = true |
static | $app_root_dirs = array() |
static | $max_depth = 6 |
static | $expanded = false |
static | $cli_detection = true |
static | $aliases |
static | $renderers |
static | $plugins |
Static Protected Member Functions | |
static | getSingleCall (array $frame, $argc) |
Protected Attributes | |
$parser | |
$renderer | |
Static Protected Attributes | |
static | $plugin_pool = array() |
|
static |
Dumps some data.
Functionally equivalent to Kint::dump(1) or Kint::dump(debug_backtrace(true))
dumpAll | ( | array | $vars, |
array | $base | ||
) |
Renders a list of vars including the pre and post renders.
array | $vars | Data to dump |
BasicObject[] | $base | Base objects |
dumpVar | ( | & | $var, |
BasicObject | $base | ||
) |
Dumps and renders a var.
mixed | $var | Data to dump |
BasicObject | $base | Base object |
|
static |
Creates base objects given parameter info.
array | $params | Parameters as returned from getCallInfo |
int | $argc | Number of arguments the helper was called with |
|
static |
getParser | ( | ) |
getRenderer | ( | ) |
|
staticprotected |
Returns specific function call info from a stack trace frame, or null if no match could be found.
array | $frame | The stack trace frame in question |
int | $argc | The amount of arguments received |
|
static |
Gets all static settings at once.
setParser | ( | Parser | $p | ) |
setRenderer | ( | Renderer | $r | ) |
setStatesFromCallInfo | ( | array | $info | ) |
setStatesFromStatics | ( | array | $statics | ) |
|
static |
generic path display callback, can be configured in app_root_dirs; purpose is to show relevant path info and hide as much of the path as possible.
string | $file |
|
static |
Dumps a backtrace.
Functionally equivalent to Kint::dump(1) or Kint::dump(debug_backtrace(true))
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
protected |
|
staticprotected |
|
static |
|
protected |
|
static |
|
static |
const MODE_CLI = 'c' |
const MODE_PLAIN = 'p' |
const MODE_RICH = 'r' |
const MODE_TEXT = 't' |