3 use \DebugBar\DataCollector\ConfigCollector;
21 $langs->transnoentities(
'Config') => array(
23 "widget" =>
"PhpDebugBar.Widgets.VariableListWidget",
24 "map" => $this->getName(),
39 return parent::collect();
52 $const = get_defined_constants(
true);
56 'const' => $const[
'user'],
61 'version' => PHP_VERSION,
62 'interface' => PHP_SAPI,
81 $_arr = is_object($obj) ? get_object_vars($obj) : $obj;
82 foreach ($_arr as $key => $val) {
83 $val = (is_array($val) || is_object($val)) ? $this->
objectToArray($val) : $val;
DolConfigCollector class.
collect()
Return collected data.
getWidgets()
Return widget settings.
objectToArray($obj)
Convert an object to array.
getConfig()
Returns an array with config data.